Skip to content

Instantly share code, notes, and snippets.

@kish2011
Forked from tuantm8/rabbitmq-server.monit
Created April 27, 2019 18:00
Show Gist options
  • Save kish2011/000a2dd26568a57ef47819c19f846f01 to your computer and use it in GitHub Desktop.
Save kish2011/000a2dd26568a57ef47819c19f846f01 to your computer and use it in GitHub Desktop.
Monit configuration for rabbitmq-server
check process rabbitmq-server matching "/usr/lib/erlang/erts-6.2/bin/beam"
group rabbitmq
start program = "/etc/init.d/rabbitmq-server start"
stop program = "/etc/init.d/rabbitmq-server stop"
if failed port 5672 type tcp then restart
if 3 restarts within 3 cycles then timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment