]> git.pld-linux.org Git - packages/sendmail.git/blob - sendmail.monitrc
- SMTP group
[packages/sendmail.git] / sendmail.monitrc
1 check process sendmail with pidfile /var/run/sendmail.pid
2         group mail
3         start program = "/etc/rc.d/init.d/sendmail start"
4         stop  program = "/etc/rc.d/init.d/sendmail stop"
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
12 check 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
20 check file sendmail_rc with path /etc/rc.d/init.d/sendmail
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.091904 seconds and 4 git commands to generate.