]> git.pld-linux.org Git - packages/sendmail.git/blame - sendmail.monitrc
- SMTP group
[packages/sendmail.git] / sendmail.monitrc
CommitLineData
2dc6091b
PG
1check process sendmail with pidfile /var/run/sendmail.pid
2 group mail
15347483
ER
3 start program = "/etc/rc.d/init.d/sendmail start"
4 stop program = "/etc/rc.d/init.d/sendmail stop"
2dc6091b
PG
5 if failed port 25 protocol smtp then restart
6 if 5 restarts within 5 cycles then timeout
7# alert foo@bar
8# alert 123456@sms on { timeout }
9 depends on sendmail_bin
10 depends on sendmail_rc
11
12check file sendmail_bin with path /usr/lib/sendmail
13 group mail
14 if failed checksum then unmonitor
15 if failed permission 2755 then unmonitor
16 if failed uid root then unmonitor
17 if failed gid smmsp then unmonitor
18# alert foo@bar
19
15347483 20check file sendmail_rc with path /etc/rc.d/init.d/sendmail
2dc6091b
PG
21 group mail
22 if failed checksum then unmonitor
23 if failed permission 754 then unmonitor
24 if failed uid root then unmonitor
25 if failed gid root then unmonitor
26# alert foo@bar
27
28
This page took 0.093464 seconds and 4 git commands to generate.