summaryrefslogtreecommitdiff
blob: 03cc70cc2c0e68eb6b81d81f50fdda74e71142db (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# 
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2010-10-21 23:56+0600\n"
"PO-Revision-Date: 2010-07-19 10:24+0400\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):6
msgid "Logcheck Guide"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(author:title):8
msgid "Author"
msgstr "Автор"

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(mail:link):9
msgid "phajdan.jr"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(author:title):11
msgid "Editor"
msgstr "Редактор"

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(mail:link):12
msgid "nightmorph"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(abstract):15
msgid "This guide shows you how to analyze system logs with logcheck."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(version):23
msgid "2"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(date):24
msgid "2010-10-12"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):27
msgid "Getting Started With logcheck"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):29
msgid "Background"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):32
msgid "<c>logcheck</c> is an updated version of <c>logsentry</c> (from the <c>sentrytools</c> package), which is a tool to analyze the system logs. Additionally, <c>logcheck</c> comes with a built-in database of common, not-interesting log messages to filter out the noise. The general idea of the tool is that all messages are interesting, except the ones explicitly marked as noise. <c>logcheck</c> periodically sends you an e-mail with a summary of interesting messages."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):45
#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):65
msgid "Installing logcheck"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(impo):48
msgid "It is strongly recommended to remove logsentry if you have it installed on your system. Additionally, you should remove /etc/logcheck to avoid permission and file collision problem."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):54
msgid "Removing logsentry"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):54
#, no-wrap
msgid ""
"\n"
"<comment>(Uninstall the logsentry package)</comment>\n"
"# <i>emerge -C logsentry</i>\n"
"<comment>(Remove leftover files)</comment>\n"
"# <i>rm -rf /etc/logcheck</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):61
msgid "Now you can proceed with the installation of logcheck."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):65
#, no-wrap
msgid ""
"\n"
"# <i>emerge -av app-admin/logcheck</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):72
msgid "Basic configuration"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):75
msgid "<c>logcheck</c> creates a separate user \"logcheck\" to avoid running as root. Actually, it will refuse to run as root. To allow it to analyze the logs, you need to make sure they are readable by logcheck. Here is an example for <c>syslog-ng</c>:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):82
msgid "/etc/syslog-ng/syslog-ng.conf snippet"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):82
#, no-wrap
msgid ""
"\n"
"options {\n"
"        owner(root);\n"
"\n"
"        <comment>(Make log files group-readable by logcheck)</comment>\n"
"        group(logcheck);\n"
"        perm(0640);\n"
"};\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):92
msgid "Now reload the configuration and make sure the changes work as expected."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):96
msgid "Reload syslog-ng configuration"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):96
#, no-wrap
msgid ""
"\n"
"# <i>/etc/init.d/syslog-ng reload</i>\n"
"<comment>(Make sure /var/log/messages has correct permissions)</comment>\n"
"# <i>ls -l /var/log/messages</i>\n"
"-rw-r----- 1 root logcheck 1694438 Feb 12 12:18 /var/log/messages\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):103
msgid "You should now adjust some basic <c>logcheck</c> settings in <path>/etc/logcheck/logcheck.conf</path>."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):108
msgid "Basic /etc/logcheck/logcheck.conf setup"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):108
#, no-wrap
msgid ""
"\n"
"# Controls the level of filtering:\n"
"# Can be Set to \"workstation\", \"server\" or \"paranoid\" for different\n"
"# levels of filtering. Defaults to server if not set.\n"
"<comment>(The workstation level includes server, and server includes paranoid.\n"
"The paranoid level filters almost no messages)</comment>\n"
"REPORTLEVEL=\"server\"\n"
"\n"
"# Controls the address mail goes to:\n"
"# *NOTE* the script does not set a default value for this variable!\n"
"# Should be set to an offsite \"emailaddress@some.domain.tld\"\n"
"<comment>(Make sure you can receive the logcheck e-mails. Testing is strongly\n"
"recommended)</comment>\n"
"SENDMAILTO=\"root\"\n"
"\n"
"# Controls if syslog-summary is run over each section.\n"
"# Alternatively, set to \"1\" to enable extra summary.\n"
"# HINT: syslog-summary needs to be installed.\n"
"<comment>(If you get a lot of similar messages in the logs, you\n"
"may want to install app-admin/syslog-summary and enable\n"
"this setting)</comment>\n"
"SYSLOGSUMMARY=0\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):132
msgid "You also have to tell <c>logcheck</c> which log files to scan (<path>/etc/logcheck/logcheck.logfiles</path>)."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):137
msgid "Basic /etc/logcheck/logcheck.logfiles setup"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):137
#, no-wrap
msgid ""
"\n"
"<comment>(This is an example for syslog-ng)</comment>\n"
"/var/log/messages\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):142
msgid "Finally, enable the logcheck cron job."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):146
msgid "Enable logcheck cron job"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):146
#, no-wrap
msgid ""
"\n"
"<comment>(Edit the cron file and follow the instructions inside)</comment>\n"
"# <i>nano -w /etc/cron.hourly/logcheck.cron</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(note):151
msgid "For more information about cron read the <uri link=\"/doc/en/cron-guide.xml\">Cron Guide</uri>."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):156
msgid "Congratulations! Now you will be regularly getting important log messages by email. An example message looks like this:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):161
msgid "Example logcheck message"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):161
#, no-wrap
msgid ""
"\n"
"System Events\n"
"=-=-=-=-=-=-=\n"
"Feb 10 17:13:53 localhost kernel: [30233.238342] conftest[25838]: segfault at 40 ip 40061403 sp bfc443c4 error 4\n"
"in libc-2.10.1.so[4003e000+142000]\n"
"Feb 11 12:31:21 localhost postfix/pickup[18704]: fatal: could not find any active network interfaces\n"
"Feb 11 12:31:22 localhost postfix/master[3776]: warning: process //usr/lib/postfix/pickup pid 18704 exit status 1\n"
"Feb 11 12:31:22 localhost postfix/master[3776]: warning: //usr/lib/postfix/pickup: bad command startup -- throttling\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):176
msgid "Troubleshooting"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(title):178
msgid "General tips"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(p):181
msgid "You can use the logcheck's <c>-d</c> switch to display more debugging information. Example:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre:caption):186
msgid "Debugging logcheck"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(pre):186
#, no-wrap
msgid ""
"\n"
"# <i>su -s /bin/bash -c '/usr/sbin/logcheck -d' logcheck</i>\n"
"D: [1281318818] Turning debug mode on\n"
"D: [1281318818] Sourcing - /etc/logcheck/logcheck.conf\n"
"D: [1281318818] Finished getopts c:dhH:l:L:m:opr:RsS:tTuvw\n"
"D: [1281318818] Trying to get lockfile: /var/lock/logcheck/logcheck.lock\n"
"D: [1281318818] Running lockfile-touch /var/lock/logcheck/logcheck.lock\n"
"D: [1281318818] cleanrules: /etc/logcheck/cracking.d/kernel\n"
"...\n"
"D: [1281318818] cleanrules: /etc/logcheck/violations.d/su\n"
"D: [1281318818] cleanrules: /etc/logcheck/violations.d/sudo\n"
"...\n"
"D: [1281318825] logoutput called with file: /var/log/messages\n"
"D: [1281318825] Running /usr/sbin/logtail2 on /var/log/messages\n"
"D: [1281318825] Sorting logs\n"
"D: [1281318825] Setting the Intro\n"
"D: [1281318825] Checking for security alerts\n"
"D: [1281318825] greplogoutput: kernel\n"
"...\n"
"D: [1281318825] greplogoutput: returning 1\n"
"D: [1281318825] Checking for security events\n"
"...\n"
"D: [1281318825] greplogoutput: su\n"
"D: [1281318825] greplogoutput: Entries in checked\n"
"D: [1281318825] cleanchecked - file: /tmp/logcheck.uIFLqU/violations-ignore/logcheck-su\n"
"D: [1281318825] report: cat'ing - Security Events for su\n"
"...\n"
"D: [1281318835] report: cat'ing - System Events\n"
"D: [1281318835] Setting the footer text\n"
"D: [1281318835] Sending report: 'localhost 2010-08-09 03:53 Security Events' to root\n"
"D: [1281318835] cleanup: Killing lockfile-touch - 17979\n"
"D: [1281318835] cleanup: Removing lockfile: /var/lock/logcheck/logcheck.lock\n"
"D: [1281318835] cleanup: Removing - /tmp/logcheck.uIFLqU\n"
msgstr ""

#. Place here names of translator, one per line. Format should be NAME; ROLE;
#. E-MAIL
#: ../../gentoo/xml/htdocs/doc/en//logcheck.xml(None):0
msgid "translator-credits"
msgstr ""