configuration-templates
/monit/debian/templates/exim4 |
@@ -0,0 +1,26 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process exim with pidfile /var/run/exim4/exim.pid |
group Debian-exim |
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 |
|
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 |
|
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 |