You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.7 KiB
76 lines
2.7 KiB
3 years ago
|
From c164023ffc68e0a684b1af0d3518eef5e6dea8f2 Mon Sep 17 00:00:00 2001
|
||
|
From: Will Yardley <wyardley@users.noreply.github.com>
|
||
|
Date: Mon, 20 Mar 2017 07:15:11 -0700
|
||
|
Subject: [PATCH 07/10] minor docs fixes (#79)
|
||
|
|
||
|
---
|
||
|
README.md | 8 ++++----
|
||
|
scripts/check_rabbitmq_cluster | 6 +++---
|
||
|
2 files changed, 7 insertions(+), 7 deletions(-)
|
||
|
|
||
|
diff --git a/README.md b/README.md
|
||
|
index 39fca00..565b7f7 100755
|
||
|
--- a/README.md
|
||
|
+++ b/README.md
|
||
|
@@ -5,8 +5,8 @@ nagios-plugins-rabbitmq
|
||
|
Overview
|
||
|
--------
|
||
|
This package contains a set of nagios checks useful for monitoring a
|
||
|
-RabbitMQ server. They use the RabbitMQ management interface with is over
|
||
|
-HTTP and therefore have a very light profile on the nagios server.
|
||
|
+RabbitMQ server. They use the RabbitMQ management interface over HTTP
|
||
|
+and therefore have a very light profile on the Nagios server.
|
||
|
|
||
|
See the [documentation](http://www.rabbitmq.com/management.html) on the
|
||
|
RabbitMQ management interface for more details on what it provides.
|
||
|
@@ -48,7 +48,7 @@ Currently we have the following checks:
|
||
|
- Use the `/api/nodes` API to check for partitions in a RabbitMQ cluster.
|
||
|
|
||
|
- check\_rabbitmq\_cluster
|
||
|
- - Use the `/api/nodes` API to check how many node are alived in the cluster.
|
||
|
+ - Use the `/api/nodes` API to check how many node are alive in the cluster.
|
||
|
|
||
|
- check\_rabbitmq\_queue
|
||
|
- Use the `/api/queue` API to collect the number of pending, ready and
|
||
|
@@ -90,4 +90,4 @@ limitations under the License.
|
||
|
Contributors
|
||
|
------------
|
||
|
|
||
|
-James Casey <jamesc.000@gmail.com>, Thierno IB. BARRY [@barryib](https://github.com/barryib)
|
||
|
\ No newline at end of file
|
||
|
+James Casey <jamesc.000@gmail.com>, Thierno IB. BARRY [@barryib](https://github.com/barryib)
|
||
|
diff --git a/scripts/check_rabbitmq_cluster b/scripts/check_rabbitmq_cluster
|
||
|
index f4da8cb..641a4f4 100755
|
||
|
--- a/scripts/check_rabbitmq_cluster
|
||
|
+++ b/scripts/check_rabbitmq_cluster
|
||
|
@@ -2,7 +2,7 @@
|
||
|
#
|
||
|
# check_rabbitmq_cluster
|
||
|
#
|
||
|
-# Use the management API to check how many node are alived in the cluster.
|
||
|
+# Use the management API to check how many node are alive in the cluster.
|
||
|
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
@@ -221,7 +221,7 @@ sub diff {
|
||
|
|
||
|
=head1 NAME
|
||
|
|
||
|
-check_rabbitmq_cluster - Nagios plugin using RabbitMQ management API to check how many node are alived in the cluster
|
||
|
+check_rabbitmq_cluster - Nagios plugin using RabbitMQ management API to check how many node are alive in the cluster
|
||
|
|
||
|
=head1 SYNOPSIS
|
||
|
|
||
|
@@ -229,7 +229,7 @@ check_rabbitmq_cluster [options] -H hostname
|
||
|
|
||
|
=head1 DESCRIPTION
|
||
|
|
||
|
-Use the management interface of RabbitMQ to check if a cluster partition has occured.
|
||
|
+Use the `/api/nodes` API to check how many node are alive in the cluster.
|
||
|
|
||
|
It uses Monitoring::Plugin and accepts all standard Nagios options.
|
||
|
|
||
|
--
|
||
|
2.20.1
|
||
|
|