monit_rabbit.conf 308 Bytes
check program metric_rabbit with path /Data/local/metric/monit/rabbit/check.sh
      start program = "/bin/bash /Data/local/metric/monit/rabbit/start.sh"
      stop program = "/bin/bash /Data/local/metric/monit/rabbit/stop.sh"
      if status != 0 then restart
      if 5 restarts within 5 cycles then stop