Created
January 20, 2017 08:19
-
-
Save tuantm8/981c612f7e08ea17e0b95c9cae740576 to your computer and use it in GitHub Desktop.
Monit configuration for rabbitmq-server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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