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

Updated:   |  RabbitMQ articles

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:


Did you find this article helpful?

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


Add a Comment

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