configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 34  →  ?path2? @ 116
/monit/debian/templates/exim4
@@ -4,23 +4,23 @@
 
check process exim with pidfile /var/run/exim4/exim.pid
group Debian-exim
depends on exim_bin
depends on exim_rc
start program = "/etc/init.d/exim4 start"
stop program = "/etc/init.d/exim4 stop"
if failed port 25 protocol smtp then restart
if 5 restarts within 5 cycles then timeout
depends on exim_bin
depends on exim_rc
# if 5 restarts within 5 cycles then timeout
 
check file exim_bin with path /usr/sbin/exim
group root
if failed checksum then unmonitor
if failed permission 4755 then unmonitor
if failed uid root then unmonitor
if failed gid root then unmonitor
if failed checksum then alert
if failed permission 4755 then alert
if failed uid root then alert
if failed gid root then alert
 
check file exim_rc with path /etc/init.d/exim4
group root
if failed checksum then unmonitor
if failed permission 755 then unmonitor
if failed uid root then unmonitor
if failed gid root then unmonitor
if failed checksum then alert
if failed permission 755 then alert
if failed uid root then alert
if failed gid root then alert