zammad: entferne redundante monit-Zeilen

This commit is contained in:
Lars Kruse 2022-12-27 19:22:17 +01:00
parent 30229c1d56
commit e287a82aec

View file

@ -4,7 +4,6 @@ check process zammad-rails with pidfile {{ zammad_home }}/tmp/pids/server.pid
if 2 restarts within 3 cycles then timeout if 2 restarts within 3 cycles then timeout
if cpu usage > 95% for 3 cycles then restart if cpu usage > 95% for 3 cycles then restart
if failed host 127.0.0.1 port 3000 for 3 cycles then restart if failed host 127.0.0.1 port 3000 for 3 cycles then restart
if 5 restarts within 5 cycles then timeout
check process zammad-websocket check process zammad-websocket
matching "script/websocket-server.rb -b 127.0.0.1 -p 6042 start" matching "script/websocket-server.rb -b 127.0.0.1 -p 6042 start"
@ -13,11 +12,9 @@ check process zammad-websocket
if 2 restarts within 3 cycles then timeout if 2 restarts within 3 cycles then timeout
if cpu usage > 95% for 3 cycles then restart if cpu usage > 95% for 3 cycles then restart
if failed host 127.0.0.1 port 6042 for 3 cycles then restart if failed host 127.0.0.1 port 6042 for 3 cycles then restart
if 5 restarts within 5 cycles then timeout
check process zammad-scheduler with pidfile {{ zammad_home }}/tmp/pids/scheduler.pid check process zammad-scheduler with pidfile {{ zammad_home }}/tmp/pids/scheduler.pid
start program = "/usr/sbin/service zammad-scheduler start" start program = "/usr/sbin/service zammad-scheduler start"
stop program = "/usr/sbin/service zammad-scheduler stop" stop program = "/usr/sbin/service zammad-scheduler stop"
if 2 restarts within 3 cycles then timeout if 2 restarts within 3 cycles then timeout
if cpu usage > 95% for 3 cycles then restart if cpu usage > 95% for 3 cycles then restart
if 5 restarts within 5 cycles then timeout