RabbitMQ - rabbitmqctl node_health_check

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: 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

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

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


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |