Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_monit_conf.d_tomcat 247B

123456
  1. check process tomcat with pidfile "/var/run/tomcat8.pid"
  2. group mail
  3. start program = "/bin/systemctl start tomcat8"
  4. stop program = "/bin/systemctl stop tomcat8"
  5. if failed port 8080 then alert
  6. if failed port 8080 for 5 cycles then restart