mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 15:59:42 +00:00
Update cheatsheets
This commit is contained in:
34
tldr/rabbitmq-diagnostics
Normal file
34
tldr/rabbitmq-diagnostics
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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.html>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user