Pārlūkot izejas kodu

Monit should also watch tomcat8 instead of tomcat7

Thomas Buck 5 gadus atpakaļ
vecāks
revīzija
04186d37f0
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      roles/monitoring/files/etc_monit_conf.d_tomcat

+ 3
- 3
roles/monitoring/files/etc_monit_conf.d_tomcat Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt