V1.0.8 Use the pl-files directory to include config file
[logcheck] / INSTALL
1 Logcheck Installation 
2 =====================
3
4 Extract the file logcheck-x.x.x.tar.gz by using command
5
6         tar -xvzf logcheck-x.x.x.tar.gz
7
8 Change to the created directory
9         
10         cd logcheck-x.x.x/
11
12 and edit files logcheck.whitelist and logcheck.logfiles.
13
14
15 logcheck.conf
16 -------------
17
18 Please change parameters in logcheck.conf. 
19 Check twice for correct mail settings!
20
21
22 logcheck.whitelist
23 ------------------
24
25 Contains a list of phrases to ignore as "ok". Each single 
26 line you place here will be ignored when parsing the 
27 logfiles.
28 A line can also be a regular expression, please look into 
29 the logfiles.whitelist for more information.
30
31
32 logcheck.logfiles
33 -----------------
34
35 Contains the path to the logfiles which should be
36 parsed by logcheck.pl. Each line represents one
37 logfile with full path. When running as cron don't 
38 use relative paths!
39
40
41 checking installation
42 ---------------------
43
44 Run the command
45         
46         /path/to/logcheck.pl debug
47
48 to check your installation. Emails will not become sent 
49 in debug mode.
50
51
52 installing a cronjob
53 --------------------
54
55 Use command
56         
57         crontab -e
58
59 and put a line similar to the follwing into it:
60
61         */10 * * * * /path/to/logcheck.pl
62
63 Thats it...
64
65
66