diff --git a/pages/common/rabbitmq-diagnostics.md b/pages/common/rabbitmq-diagnostics.md new file mode 100644 index 00000000000000..69579094935254 --- /dev/null +++ b/pages/common/rabbitmq-diagnostics.md @@ -0,0 +1,29 @@ +# rabbitmq-diagnostics + +> Diagnose, monitor, and run health checks on RabbitMQ nodes. +> Many subcommands are delegated to `rabbitmqctl`. +> More information: . + +- List resource alarms: + +`rabbitmq-diagnostics alarms` + +- List node certificates: + +`rabbitmq-diagnostics certificates` + +- Check if RabbitMQ is running on the specified node: + +`rabbitmq-diagnostics check_running --node {{node}}` + +- Run peer discovery: + +`rabbitmq-diagnostics discover_peers` + +- List listeners (bound sockets): + +`rabbitmq-diagnostics listeners` + +- Print the last `n` log lines on the specified node: + +`rabbitmq-diagnostics log_tail --number {{n}} --node {{node}}`