From: Sebastian Harl Date: Mon, 8 Dec 2008 23:47:30 +0000 (+0100) Subject: collectd-nagios: Added "percentage" to the help output. X-Git-Tag: collectd-4.6.0~126 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=19d94267852103c952ab33e8e6a577cbc827635d;p=collectd.git collectd-nagios: Added "percentage" to the help output. --- 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 */