Check cluster status

Show cluster nodes, disk nodes and partitions

rabbitmqctl cluster_status

tool
rabbitmq15 commands
tags
rabbitmqdebug

More rabbitmq commands

  • rabbitmqctl purge_queue my_queue -p my_vhost

    Remove all messages from a queue without deleting it

  • rabbitmqctl list_exchanges name type durable

    Show all exchanges with type and durability

  • rabbitmqctl list_bindings -p my_vhost

    Show exchange-to-queue bindings for a vhost

  • rabbitmq-plugins enable rabbitmq_management && rabbitmqctl restart

    Enable web UI on port 15672

  • curl -s -u guest:guest http://localhost:15672/api/definitions | jq '.' > rabbitmq-defs.json

    Export all vhosts, exchanges and policies via management API

all 15 rabbitmq commands