check process postfix with pidfile /var/spool/postfix/pid/master.pid GROUP mail start program = "/etc/init.d/postfix start" stop program = "/etc/init.d/postfix stop" if cpu > 60% for 2 cycles then alert if cpu > 80% for 5 cycles then restart if totalmem > 200.0 MB for 5 cycles then restart if children > 250 then restart if loadavg(5min) greater than 2 for 8 cycles then stop if failed host localhost port 25 type tcp protocol smtp with timeout 15 seconds then alert if 3 restarts within 5 cycles then timeout