Skip to content

Instantly share code, notes, and snippets.

@yuswitayudi
Created October 6, 2020 03:42
Show Gist options
  • Save yuswitayudi/43ceb824bfba0c4226904e754a255263 to your computer and use it in GitHub Desktop.
Save yuswitayudi/43ceb824bfba0c4226904e754a255263 to your computer and use it in GitHub Desktop.
Monit config for RabbitMq service
check PROCESS rabbitmq with MATCHING rabbitmq
if failed port 5672 type tcp then restart
if changed pid then alert
start program = "/etc/init.d/rabbitmq-server start"
stop program = "/etc/init.d/rabbitmq-server stop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment