Forum Discussion

Brandon's avatar
8 years ago

RabbitMQ Healthcheck

PAGA9W

This is a standard healthcheck as outlined in the RabbitMQ API documentation.  Returns a value of 1 if the healthcheck is passed and 0 if there is a failure.  

Runs basic healthchecks in the current node. Checks that the rabbit application is running, channels and queues can be listed successfully, and that no alarms are in effect. If everything is working correctly, will return HTTP status 200 with body:
{"status":"ok"}
If something fails, will return HTTP status 200 with the body of
{"status":"failed","reason":"string"}