[rabbitmq-discuss] RabbitMQ and monit?

Steve Jenson stevej at gmail.com
Wed Apr 9 23:23:20 BST 2008


On Wed, Apr 9, 2008 at 9:33 AM, Dmitriy Samovskiy
<dmitriy.samovskiy at cohesiveft.com> wrote:
>  And then for monit:
>
>  check process rabbitmq-broker with pidfile /var/run/rabbitmq.pid
>   start program = "/etc/init.d/rabbitmq start"
>   stop program = "/etc/init.d/rabbitmq stop"
>   if 5 restarts within 5 cycles then timeout
>   alert someone at example.com only on { timeout }
>
>  Something like this might work. Please note however that I don't actually
> run this setup - it's just how I might do it when I get around to it.

That worked for me pretty much verbatim except that my script is in
/etc/init.d/rabbitmq-server

Best,
Steve J.




More information about the rabbitmq-discuss mailing list