check process tomcat with pidfile "/var/run/tomcat6.pid" group mail start program = "/etc/init.d/tomcat6 start" stop program = "/etc/init.d/tomcat6 stop" if failed port 8080 then alert if failed port 8080 for 5 cycles then restart