From 19d94267852103c952ab33e8e6a577cbc827635d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 9 Dec 2008 00:47:30 +0100 Subject: [PATCH] collectd-nagios: Added "percentage" to the help output. --- src/collectd-nagios.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/collectd-nagios.c b/src/collectd-nagios.c index 15252b19..4e4e494c 100644 --- a/src/collectd-nagios.c +++ b/src/collectd-nagios.c @@ -273,7 +273,7 @@ static void usage (const char *name) " -d Select the DS to examine. May be repeated to examine multiple\n" " DSes. By default all DSes are used.\n" " -g Method to use to consolidate several DSes.\n" - " Valid arguments are `none', `average' and `sum'\n" + " See below for a list of valid arguments.\n" " -H Hostname to query the values for.\n" " -c Critical range\n" " -w Warning range\n" @@ -284,6 +284,8 @@ static void usage (const char *name) " average: Calculate the average of all matching DSes and apply the\n" " warning- and critical-ranges to the calculated average.\n" " sum: Apply the ranges to the sum of all DSes.\n" + " percentage: Apply the ranges to the ratio (in percent) of the first value\n" + " and the sum of all values." "\n", name); exit (1); } /* void usage */ -- 2.11.0