Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

etc_monit_conf.d_tomcat 299B

12345678
  1. check process tomcat with pidfile "/var/run/tomcat6.pid"
  2. group mail
  3. start program = "/etc/init.d/tomcat6 start"
  4. as uid tomcat6 gid tomcat6
  5. stop program = "/etc/init.d/tomcat6 stop"
  6. as uid tomcat6 gid tomcat6
  7. if failed port 8080 then alert
  8. if failed port 8080 for 5 cycles then restart