rabbitmq-diagnostics.8
NAME
rabbitmq-diagnostics
— RabbitMQ diagnostics, monitoring and health checks tools
SYNOPSIS
rabbitmq-diagnostics | [-q ] [-s ] [-l ] [-n node] [-t timeout] command [command_options] |
DESCRIPTION
rabbitmq-diagnostics
is a command line tool that provides commands used for diagnostics, monitoring and health checks of RabbitMQ nodes. See the RabbitMQ documentation guides to learn more about RabbitMQ diagnostics, monitoring and health checks.
rabbitmq-diagnostics
allows the operator to inspect node and cluster state. A number of health checks are available to be used interactively and by monitoring tools.
By default if it is not possible to connect to and authenticate with the target node (for example if it is stopped), the operation will fail. To learn more, see the RabbitMQ Monitoring guide
OPTIONS
-n
nodeDefault node is "rabbit@target-hostname", where target-hostname is the local host. On a host named "myserver.example.com", the node name will usually be "rabbit@myserver" (unless
RABBITMQ_NODENAME
has been overridden). The output of "hostname -s" is usually the correct suffix to use after the "@" sign. See rabbitmq-server(8) for details of configuring a RabbitMQ node.-q
,--quiet
- Quiet output mode is selected. Informational messages are reduced when quiet mode is in effect.
-s
,--silent
- Silent output mode is selected. Informational messages are reduced and table headers are suppressed when silent mode is in effect.
-t
timeout,--timeout
timeout- Operation timeout in seconds. Not all commands support timeouts. Default is
infinity
. -l
,--longnames
Must be specified when the cluster is configured to use long (FQDN) node names. To learn more, see the RabbitMQ Clustering guide
--erlang-cookie
cookieShared secret to use to authenticate to the target node. Prefer using a local file or the
RABBITMQ_ERLANG_COOKIE
environment variable instead of specifying this option on the command line. To learn more, see the RabbitMQ CLI Tools guide
COMMANDS
Most commands provided by rabbitmq-diagnostics
inspect node and cluster state or perform health checks.
Commands that list topology entities (e.g. queues) use tab as column delimiter. These commands and their arguments are delegated to rabbitmqctl(8).
Some commands ( list_queues
, list_exchanges
, list_bindings
and list_consumers
) accept an optional vhost parameter.
The list_queues
, list_exchanges
and list_bindings
commands accept an optional virtual host parameter for which to display results. The default value is "/".
Help
help
[-l
] [command_name]Prints usage for all available commands.
-l
,--list-commands
- List command usages only, without parameter explanation.
- command_name
- Prints usage for the specified command.
version
Displays CLI tools version