Here is a sample piktd.conf configuration file. It is much like a crontab file with some additional options--for example, a sixth timing parameter (for "drift"). Some alerts (for example, EMERGENCY) are listed more than once because we specify multiple timings in alerts.cfg.
45 5,11,17,23 * * * 0 /usr/bin/nice -5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: WebAdmin'
brahms\@ottawa.pikt.org" +A WebAdmin
55 0-23/4 * * * 5 /usr/bin/nice -10 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Debug'
brahms\@ottawa.pikt.org" +A Debug
45 3 * * * 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Admin'
brahms\@ottawa.pikt.org" +A Admin
10% 0-5 * * * 0 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Security'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A Security
30 0 * * 2 10 /usr/bin/nice -5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Info'
brahms\@ottawa.pikt.org" +A Info
20 3 * * 2,5 10 /usr/bin/nice -5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Notice'
brahms\@ottawa.pikt.org" +A Notice
10 2 * * * 10 /usr/bin/nice -5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Warning'
brahms\@ottawa.pikt.org" +A Warning
50 5,8,11,14,17,20,23 * * * 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Critical'
brahms\@ottawa.pikt.org" +A Critical
40 6-21 * * 1-5 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Urgent'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A Urgent
40 6-21 * * 0,6 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Urgent'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A Urgent
40 0,2,4,22 * * * 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: Urgent'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A Urgent
0,30 6-21 * * 1-5 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: EMERGENCY'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A EMERGENCY
0,30 6-21 * * 0,6 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: EMERGENCY'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A EMERGENCY
0 0-5,22-23 * * * 5 /pikt/bin/pikt
+M "/usr/bin/mail -s 'PIKT Alert on ottawa: EMERGENCY'
brahms\@ottawa.pikt.org"
+L "/usr/bin/lpr -P lp" +A EMERGENCY
[For more examples, see Samples.]
Home |
FAQ |
News |
Intro |
Samples |
Tutorial |
Reference |
Software |
Authors |
Licensing |
SiteSearch
Links |
SiteIndex |
Pikt-Users |
Pikt-Workers |
Contribute |
ContactUs |
Top of Page
Page best viewed at 1024x768.
Page last updated 2005-06-22.
This site is
PIKT®
powered.
PIKT® is a registered trademark of the University of Chicago.
Copyright © 1998-2005 Robert Osterlund. All rights reserved.
|