configuration-templates
/monit/debian/templates/postfix |
@@ -4,15 +4,15 @@ |
|
check process postfix with pidfile /var/spool/postfix/pid/master.pid |
group mail |
depends on postfix_rc |
start program = "/etc/init.d/postfix start" |
stop program = "/etc/init.d/postfix stop" |
if failed port 25 protocol smtp then restart |
# if 5 restarts within 5 cycles then timeout |
depends on postfix_rc |
|
check file postfix_rc with path /etc/init.d/postfix |
group mail |
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 |