Enable the management plugin
Turn on the web UI on port 15672
rabbitmq-plugins enable rabbitmq_management && rabbitmqctl restart
More rabbitmq commands
-
curl -s -u guest:guest http://localhost:15672/api/definitions | jq '.' > rabbitmq-defs.jsonSave vhosts, exchanges, policies and other definitions to a file via the management API
-
rabbitmqctl list_queues name messages consumers durableShow each queue with its message count, consumer count and durable flag
-
rabbitmqctl list_exchanges name type durableShow all exchanges and their types
-
rabbitmqctl list_bindingsShow all bindings between exchanges and queues in the default vhost
-
rabbitmqctl list_connections name peer_host port userShow open client connections with client host, server port and user