diff --git a/python_apps/monit/airtime-monit.cfg b/python_apps/monit/airtime-monit.cfg index 7ac74e00c..afa9eafff 100644 --- a/python_apps/monit/airtime-monit.cfg +++ b/python_apps/monit/airtime-monit.cfg @@ -2,8 +2,7 @@ #set logfile syslog facility log_daemon set logfile /var/log/monit.log - set httpd port 2812 and use address 127.0.0.1 - allow localhost + set httpd port 2812 allow admin:monit check process airtime-playout @@ -26,3 +25,7 @@ matching "/usr/bin/icecast2" start program = "/etc/init.d/icecast2 start" with timeout 10 seconds stop program = "/etc/init.d/icecast2 stop" + check process rabbitmq-server + matching "/usr/lib/erlang/erts-5.7.4/bin/beam.smp" + start program = "/etc/init.d/rabbitmq-server start" with timeout 10 seconds + stop program = "/etc/init.d/rabbitmq-server stop"