snippetbashTip
rabbitmq-diagnostics — Diagnose, monitor, and run health checks on RabbitMQ nodes. Many subcommands are delegated to `rabbi
Viewed 0 times
commandrunmonitordiagnoseandhealthclirabbitmq-diagnostics
Problem
How to use the
rabbitmq-diagnostics command: Diagnose, monitor, and run health checks on RabbitMQ nodes. Many subcommands are delegated to rabbitmqctl. More information: <https://www.rabbitmq.com/docs/man/rabbitmq-diagnostics.8>.Solution
rabbitmq-diagnostics — Diagnose, monitor, and run health checks on RabbitMQ nodes. Many subcommands are delegated to rabbitmqctl. More information: <https://www.rabbitmq.com/docs/man/rabbitmq-diagnostics.8>.List resource alarms:
rabbitmq-diagnostics alarmsList node certificates:
rabbitmq-diagnostics certificatesCheck if RabbitMQ is running on the specified node:
rabbitmq-diagnostics check_running --node {{node}}Run peer discovery:
rabbitmq-diagnostics discover_peersList listeners (bound sockets):
rabbitmq-diagnostics listenersPrint the last
n log lines on the specified node:rabbitmq-diagnostics log_tail --number {{n}} --node {{node}}Code Snippets
List resource alarms
rabbitmq-diagnostics alarmsList node certificates
rabbitmq-diagnostics certificatesCheck if RabbitMQ is running on the specified node
rabbitmq-diagnostics check_running --node {{node}}Run peer discovery
rabbitmq-diagnostics discover_peersList listeners (bound sockets)
rabbitmq-diagnostics listenersContext
tldr-pages: common/rabbitmq-diagnostics
Revisions (0)
No revisions yet.