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.

38 lines
1.3 KiB

From 82763cb426446f4694a49b838bd63f1662b4fd4c Mon Sep 17 00:00:00 2001
From: Will Yardley <wyardley@users.noreply.github.com>
Date: Mon, 20 Mar 2017 07:13:39 -0700
Subject: [PATCH 06/10] Add descriptive text about the order of thresholds
(#81)
---
scripts/check_rabbitmq_queue | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/check_rabbitmq_queue b/scripts/check_rabbitmq_queue
index 0909798..7e35235 100755
--- a/scripts/check_rabbitmq_queue
+++ b/scripts/check_rabbitmq_queue
@@ -64,7 +64,8 @@ $p->add_arg(
spec => 'warning|w=s',
help =>
qq{-w, --warning=THRESHOLD[,THRESHOLD[,THRESHOLD[,THRESHOLD]]]
- Warning thresholds specified in order that the metrics are returned.
+ Warning thresholds specified in following order:
+ messages[,messages_ready[,messages_unacknowledged[,consumers]]]
Specify -1 if no warning threshold.},
);
@@ -73,7 +74,8 @@ $p->add_arg(
spec => 'critical|c=s',
help =>
qq{-c, --critical=THRESHOLD[,THRESHOLD[,THRESHOLD[,THRESHOLD]]]
- Critical thresholds specified in order that the metrics are returned.
+ Critical thresholds specified in following order:
+ messages[,messages_ready[,messages_unacknowledged[,consumers]]]
Specify -1 if no critical threshold.},
);
--
2.20.1