1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
<?xml version='1.0' encoding='utf-8'?><section xmlns="http://docbook.org/ns/docbook" xmlns:ns5="http://www.w3.org/1998/Math/MathML" xmlns:ns4="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns="http://docbook.org/ns/docbook" xml:id="logdrake" version="5.0" xml:lang="da">
<info>
<title xml:id="logdrake-ti1">Vis og søg i systemlogger</title>
<subtitle>logdrake</subtitle>
</info>
<mediaobject>
<imageobject>
<imagedata revision="1" align="center" xml:id="logdrake-im1" format="PNG" fileref="logdrake.png"/>
</imageobject>
</mediaobject>
<para>This tool<footnote>
<para>You can start this tool from the command line, by typing <emphasis
role="bold">logdrake</emphasis> as root.</para>
</footnote> is found in the Mageia
Control Center System tab, labelled "<guilabel>View and search system
logs</guilabel>".</para>
<para/>
<section>
<title>To do a search in the logs</title>
<para>First, enter the key string you want to look for in the <emphasis
role="bold">Matching</emphasis> field and/or the key string you want to
<emphasis>do not</emphasis> wish to see amongst the answers in the field
<emphasis role="bold">but not matching</emphasis>. Then select the file(s)
to search in the <guilabel>Choose file</guilabel> field. Optionally, it is
possible to limit the search to only one day. Select it in the <emphasis
role="bold">Calendar</emphasis>, using the little arrows on each side of the
month and year, and check "<guibutton>Show only for the selected
day</guibutton>". At last, click on the <guibutton>search</guibutton> button
to see the results in the window called <guilabel>Content of the
file</guilabel>. It is possible to save the results in the .txt format by
clicking on the <emphasis role="bold">Save</emphasis> button.</para>
<note>
<para>The <guibutton>Mageia Tools Logs</guibutton> houses the logs from the Mageia
configuration tools such as the Mageia Control Center tools. These logs are
updated each time a configuration is modified.</para>
</note>
</section>
<section>
<title>To configure a mail alert</title>
<para><guibutton>Mail alert</guibutton> automatically checks the system load and
the services every hour and if necessary sends an e-mail to the configured
address.</para>
<para>To configure this tool, click on the <emphasis role="bold">Mail
Alert</emphasis> button and then, in the next screen, on the<guibutton>
Configure the mail alert system</guibutton> drop down button. Here, all the
running services are displayed and you can choose which ones you want to
look watch. (See screenshot above).</para>
<para>The following services can be watched :</para>
<itemizedlist>
<listitem>
<para>Webmin-tjeneste</para>
</listitem>
<listitem>
<para>Postfix postserver</para>
</listitem>
<listitem>
<para>FTP-server</para>
</listitem>
<listitem>
<para>Apache World Wide Web Server</para>
</listitem>
<listitem>
<para>SSH-server</para>
</listitem>
<listitem>
<para>Samba-server</para>
</listitem>
<listitem>
<para>Xinetd-tjeneste</para>
</listitem>
<listitem>
<para>BIND Domain Name Resolve</para>
<para><mediaobject>
<imageobject>
<imagedata fileref="logdrake1.png"/>
</imageobject>
</mediaobject></para>
</listitem>
</itemizedlist>
<para>In the next screen, select the <guilabel>Load</guilabel> value you consider
unacceptable. The load represents the demand to a process, a high load slows
the system down and a very high load may indicate that a process has gone
out of control. The default value is 3. We recommend setting the load value
to 3 times the number of processors.</para>
<para>In the last screen, enter the <guilabel>Email address</guilabel> of the
person to be warned and the <guilabel>Email server</guilabel> to use (local
or on the Internet).</para>
</section>
</section>
|