diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2019-02-06 04:04:20 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2019-02-06 04:04:20 +0300 |
| commit | 67de91c9dd5259fc00d30d2c13729b1d9d339654 (patch) | |
| tree | 90911502e3362f8acec19d655fe6334d2d4fa06f /docs/rabbitmq-diagnostics.8 | |
| parent | c9f6c37ecb97cf21d607ba814820935bd44fe1fb (diff) | |
| download | rabbitmq-server-git-67de91c9dd5259fc00d30d2c13729b1d9d339654.tar.gz | |
New man page: rabbitmq-diagnostics(8)
Diffstat (limited to 'docs/rabbitmq-diagnostics.8')
| -rw-r--r-- | docs/rabbitmq-diagnostics.8 | 173 |
1 files changed, 161 insertions, 12 deletions
diff --git a/docs/rabbitmq-diagnostics.8 b/docs/rabbitmq-diagnostics.8 index bfbb0b48a7..f025a9f299 100644 --- a/docs/rabbitmq-diagnostics.8 +++ b/docs/rabbitmq-diagnostics.8 @@ -304,6 +304,155 @@ See in .Xr rabbitmqctl 8 .\" ------------------------------------ +.It Cm alarms +.Pp +Lists resource alarms, if any, in the cluster. +.Pp +See +.Lk https://www.rabbitmq.com/alarms.html "RabbitMQ Resource Alarms guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +alarms +.\" ------------------------------------ +.It Cm listeners +.Pp +Lists listeners (bound sockets) on this node. Use this to inspect +what protocols and ports the node is listening on for client, CLI tool +and peer connections. +.Pp +See +.Lk https://www.rabbitmq.com/networking.html "RabbitMQ Networking guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +listeners +.\" ------------------------------------ +.It Cm is_running +.Pp +Reports if RabbitMQ application is fully booted and running (that is, not stopped) on +the target node. +.Pp +Example: +.Sp +.Dl +.Nm +is_running +.\" ------------------------------------ +.It Cm is_booting +.Pp +Reports if RabbitMQ application is currently booting (not booted/running or stopped) on +the target node. +.Pp +Example: +.Sp +.Dl +.Nm +is_booting +.\" ------------------------------------ + +check_port_connectivity [-t <timeout>] +.\" ------------------------------------ +.It Cm check_running +.Pp +Health check that fails (returns with a non-zero code) if the RabbitMQ +application is not running on the target node. +.Pp +If +.Cm rabbitmqctl(8) +was used to stop the application, this check will fail. +.Pp +Example: +.Sp +.Dl +.Nm +check_running +.\" ------------------------------------ +.It Cm check_local_alarms +.Pp +Health check that fails (returns with a non-zero code) if there are alarms +in effect on the target node. +.Pp +See +.Lk https://www.rabbitmq.com/alarms.html "RabbitMQ Resource Alarms guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +check_local_alarms +.\" ------------------------------------ +.It Cm check_alarms +.Pp +Health check that fails (returns with a non-zero code) if there are alarms +in effect on any of the cluster nodes. +.Pp +See +.Lk https://www.rabbitmq.com/alarms.html "RabbitMQ Resource Alarms guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +check_alarms +.\" ------------------------------------ +.It Cm check_port_connectivity +.Pp +Health check that fails (returns with a non-zero code) if any listener ports +on the target node cannot accept a new TCP connection opened by +.Nm. +The check only validates if a new TCP connection is accepted. It does not +perform messaging protocol handshake or authenticate. +.Pp +See +.Lk https://www.rabbitmq.com/networking.html "RabbitMQ Networking guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +check_port_connectivity +.\" ------------------------------------ +.It Cm check_protocol_listener +.Pp +Health check that fails (returns with a non-zero code) if the target node +does not have a listener for the specified protocol. +.Pp +See +.Lk https://www.rabbitmq.com/networking.html "RabbitMQ Networking guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +check_protocol_listener mqtt +.\" ------------------------------------ +.It Cm check_port_listener +.Pp +Health check that fails (returns with a non-zero code) if the target node +is not listening on the specified port (there is no listener that +uses that port). +.Pp +See +.Lk https://www.rabbitmq.com/networking.html "RabbitMQ Networking guide" +to learn more. +.Pp +Example: +.Sp +.Dl +.Nm +check_port_listener 5672 +.\" ------------------------------------ .It Cm status See .Cm status @@ -316,18 +465,6 @@ See in .Xr rabbitmqctl 8 .\" ------------------------------------ -.It Cm node_health_check -Performs several health checks of the target node. -.Pp -Verifies the rabbit application is running and alarms are not set, -then checks that every queue and channel on the node can emit basic stats. -.Pp -Example: -.Sp -.Dl -.Nm -node_health_check -n rabbit@hostname -.\" ------------------------------------ .It Cm environment See .Cm environment @@ -400,3 +537,15 @@ See in .Xr rabbitmqctl 8 .\" ------------------------------------ +.It Cm node_health_check +Performs several health checks of the target node. +.Pp +Verifies the rabbit application is running and alarms are not set, +then checks that every queue and channel on the node can emit basic stats. +.Pp +Example: +.Sp +.Dl +.Nm +node_health_check -n rabbit@hostname +.\" ------------------------------------ |
