Bootstrap FreeKB - RabbitMQ - rabbitmqctl node_health_check
RabbitMQ - rabbitmqctl node_health_check

Updated:   |  RabbitMQ articles

The rabbitmqctl node_health_check command can be used to determine if a node is functioning properly.

~]# rabbitmqctl node_health_check
Timeout: 70.0 seconds
Checking health of node rabbit@server1
Health check passed

 

If the health check fails, something like this should be displayed.

~]# rabbitmqctl node_health_check
Timeout: 70 seconds ...
Checking health of node rabbit@server001 ...
Error:
Error: healthcheck failed. Message: cluster partition in effect: [rabbit@server001,rabbit@server002]

 

The --formatter json option can be used to return the output in JSON.

rabbitmqctl node_health_check --formatter json



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 918110 in the box below so that we can be sure you are a human.