diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2019-02-01 16:19:28 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2019-02-05 04:37:09 +0300 |
| commit | 748b8876bf208f817976bb225285f5ad8f42027c (patch) | |
| tree | 17cad6e16c6d374367fe18d0db34761558e73a33 /docs | |
| parent | 9166955bbd0df8a57ac3e41bb3f0e5aa35a906e8 (diff) | |
| download | rabbitmq-server-git-748b8876bf208f817976bb225285f5ad8f42027c.tar.gz | |
rabbitmq-diagnostics(8) WIP
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmq-diagnostics.8 | 118 | ||||
| -rw-r--r-- | docs/rabbitmq-plugins.8 | 9 | ||||
| -rw-r--r-- | docs/rabbitmq-server.8 | 9 | ||||
| -rw-r--r-- | docs/rabbitmq-service.8 | 6 | ||||
| -rw-r--r-- | docs/rabbitmqctl.8 | 7 |
5 files changed, 136 insertions, 13 deletions
diff --git a/docs/rabbitmq-diagnostics.8 b/docs/rabbitmq-diagnostics.8 new file mode 100644 index 0000000000..193d6b0fc2 --- /dev/null +++ b/docs/rabbitmq-diagnostics.8 @@ -0,0 +1,118 @@ +.\" vim:ft=nroff: +.\" The contents of this file are subject to the Mozilla Public License +.\" Version 1.1 (the "License"); you may not use this file except in +.\" compliance with the License. You may obtain a copy of the License +.\" at http://www.mozilla.org/MPL/ +.\" +.\" Software distributed under the License is distributed on an "AS IS" +.\" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +.\" the License for the specific language governing rights and +.\" limitations under the License. +.\" +.\" The Original Code is RabbitMQ. +.\" +.\" The Initial Developer of the Original Code is Pivotal Software, Inc. +.\" Copyright (c) 2007-2019 Pivotal Software, Inc. All rights reserved. +.\" +.Dd January 29, 2019 +.Dt RABBITMQ-DIAGNOSTICS 8 +.Os "RabbitMQ Server" +.Sh NAME +.Nm rabbitmq-diagnostics +.Nd RabbitMQ diagnostics, monitoring and health checks tools +.\" ------------------------------------------------------------------ +.Sh SYNOPSIS +.\" ------------------------------------------------------------------ +.Nm +.Op Fl q +.Op Fl s +.Op Fl l +.Op Fl n Ar node +.Op Fl t Ar timeout +.Ar command +.Op Ar command_options +.\" ------------------------------------------------------------------ +.Sh DESCRIPTION +.\" ------------------------------------------------------------------ +.Nm +is a command line tool that provides commands used for diagnostics, monitoring +and health checks of RabbitMQ nodes. +See the +.Lk https://www.rabbitmq.com/documentation.html "RabbitMQ documentation guides" +to learn more about RabbitMQ diagnostics, monitoring and health checks. + +.Nm +allows the operator to TODO. + +.Pp +The +.Cm enable , +.Cm disable , +and +.Cm set +commands will update the plugins file and then attempt to connect to the +broker and ensure it is running all enabled plugins. +By default if it is not possible to connect to the running broker (for +example if it is stopped) the operation will fail. +If +.Nm +is used on the same host as the target node, +.Fl -offline +can be specified to make +.Nm +resolve and update plugin state directly (without contacting the node). +Such changes will only have an effect on next node start. +To learn more, see the +.Lk https://www.rabbitmq.com/plugins.html "RabbitMQ Plugins guide" +. +.\" ------------------------------------------------------------------ +.Sh OPTIONS +.\" ------------------------------------------------------------------ +.Bl -tag -width Ds +.It Fl n Ar node +Default node is +.Qq Pf rabbit@ Ar target-hostname , +where +.Ar target-hostname +is the local host. +On a host named +.Qq myserver.example.com , +the node name will usually be +.Qq rabbit@myserver +(unless +.Ev RABBITMQ_NODENAME +has been overridden). +The output of +.Qq hostname -s +is usually the correct suffix to use after the +.Qq @ +sign. +See +.Xr rabbitmq-server 8 +for details of configuring a RabbitMQ node. +.It Fl q , -quiet +Quiet output mode is selected. +Informational messages are reduced when quiet mode is in effect. +.It Fl s , -silent +Silent output mode is selected. +Informational messages are reduced and table headers are suppressed when silent mode is in effect. +.It Fl t Ar timeout , Fl -timeout Ar timeout +Operation timeout in seconds. +Not all commands support timeouts. +Default is +.Cm infinity . +.It Fl l , Fl -longnames +Must be specified when the cluster is configured to use long (FQDN) node names. +To learn more, see the +.Lk https://www.rabbitmq.com/clustering.html "RabbitMQ Clustering guide" +.It Fl -erlang-cookie Ar cookie +Shared secret to use to authenticate to the target node. +Prefer using a local file or the +.Ev RABBITMQ_ERLANG_COOKIE +environment variable instead of specifying this option on the command line. +To learn more, see the +.Lk https://www.rabbitmq.com/cli.html "RabbitMQ CLI Tools guide" +.El +.\" ------------------------------------------------------------------ +.Sh COMMANDS +.\" ------------------------------------------------------------------ diff --git a/docs/rabbitmq-plugins.8 b/docs/rabbitmq-plugins.8 index d68bdc8044..3962a7d555 100644 --- a/docs/rabbitmq-plugins.8 +++ b/docs/rabbitmq-plugins.8 @@ -19,7 +19,7 @@ .Os "RabbitMQ Server" .Sh NAME .Nm rabbitmq-plugins -.Nd command line for managing RabbitMQ plugins +.Nd command line tool for managing RabbitMQ plugins .\" ------------------------------------------------------------------ .Sh SYNOPSIS .\" ------------------------------------------------------------------ @@ -249,11 +249,12 @@ plugin and its dependencies and disables everything else: .\" ------------------------------------------------------------------ .Sh SEE ALSO .\" ------------------------------------------------------------------ -.Xr rabbitmq-env.conf 5 , -.Xr rabbitmq-echopid 8 , +.Xr rabbitmqctl 8 , +.Xr rabbitmq-diagnostics 8 , .Xr rabbitmq-server 8 , .Xr rabbitmq-service 8 , -.Xr rabbitmqctl 8 +.Xr rabbitmq-env.conf 5 , +.Xr rabbitmq-echopid 8 .\" ------------------------------------------------------------------ .Sh AUTHOR .\" ------------------------------------------------------------------ diff --git a/docs/rabbitmq-server.8 b/docs/rabbitmq-server.8 index 8882ce62c7..87c6e7c531 100644 --- a/docs/rabbitmq-server.8 +++ b/docs/rabbitmq-server.8 @@ -41,7 +41,7 @@ To shut down the server, use service management tools or .\" ------------------------------------------------------------------ .Bl -tag -width Ds .It Ev RABBITMQ_CONFIG_FILE -Defaults to +Defaults to .Pa /etc/rabbitmq/rabbitmq.conf . Node configuration file path. To learn more, see the @@ -93,11 +93,12 @@ For example, runs RabbitMQ AMQP server in the background: .\" ------------------------------------------------------------------ .Sh SEE ALSO .\" ------------------------------------------------------------------ -.Xr rabbitmq-env.conf 5 , -.Xr rabbitmq-echopid 8 , +.Xr rabbitmqctl 8 , +.Xr rabbitmq-diagnostics 8 , .Xr rabbitmq-plugins 8 , .Xr rabbitmq-service 8 , -.Xr rabbitmqctl 8 +.Xr rabbitmq-env.conf 5 , +.Xr rabbitmq-echopid 8 .\" ------------------------------------------------------------------ .Sh AUTHOR .\" ------------------------------------------------------------------ diff --git a/docs/rabbitmq-service.8 b/docs/rabbitmq-service.8 index fd01bbb814..f9c5588435 100644 --- a/docs/rabbitmq-service.8 +++ b/docs/rabbitmq-service.8 @@ -147,10 +147,12 @@ is to discard the server output. .\" ------------------------------------------------------------------ .Sh SEE ALSO .\" ------------------------------------------------------------------ -.Xr rabbitmq-echopid 8 , +.Xr rabbitmqctl 8 , +.Xr rabbitmq-diagnostics 8 , .Xr rabbitmq-plugins 8 , .Xr rabbitmq-server 8 , -.Xr rabbitmqctl 8 +.Xr rabbitmq-env.conf 5 , +.Xr rabbitmq-echopid 8 .\" ------------------------------------------------------------------ .Sh AUTHOR .\" ------------------------------------------------------------------ diff --git a/docs/rabbitmqctl.8 b/docs/rabbitmqctl.8 index e556a7f979..5f63b88e11 100644 --- a/docs/rabbitmqctl.8 +++ b/docs/rabbitmqctl.8 @@ -2227,11 +2227,12 @@ Reset stats database for all nodes in the cluster. .\" ------------------------------------------------------------------ .Sh SEE ALSO .\" ------------------------------------------------------------------ -.Xr rabbitmq-env.conf 5 , -.Xr rabbitmq-echopid 8 , +.Xr rabbitmq-diagnostics 8 , .Xr rabbitmq-plugins 8 , .Xr rabbitmq-server 8 , -.Xr rabbitmq-service 8 +.Xr rabbitmq-service 8 , +.Xr rabbitmq-env.conf 5 , +.Xr rabbitmq-echopid 8 .\" ------------------------------------------------------------------ .Sh AUTHOR .\" ------------------------------------------------------------------ |
