RabbitMQ - Health check virtual hosts (rabbitmq-diagnostics check_virtual_host)

The rabbitmq-diagnostics check_virtual_hosts command can be used to perform a simple health check of the virtual hosts.

rabbitmq-diagnostics check_virtual_hosts

 

Usually, something like this will be returned.

Checking if all vhosts are running on node rabbit@server001 ...
Node rabbit@server001 reported all vhosts as running

 

However, if one or more virtual hosts are not running, something like this should be returned. In this example, the default / (forward slash) virtual host and the foo and bar virtual hosts are not running. In this scenario, you can try to start the virtual hosts using the rabbitmqctl restart_vhost command.

Some virtual hosts on node rabbit@server001 are down:
/
foo
bar

 




Did you find this article helpful?

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

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 735d5 in the box below so that we can be sure you are a human.




Comments

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