X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fcollectd-nagios.pod;h=e28ff4b829515f85f89eed971d6fa2cb3fa0419c;hp=49800255f266053fda3e990867c40a6fec80a7ba;hb=633c3966f770e4d46651a2fe219a18d8a9907a9f;hpb=332cf199806de625661fa3a9bf9555f7a47ba9f9 diff --git a/src/collectd-nagios.pod b/src/collectd-nagios.pod index 49800255..e28ff4b8 100644 --- a/src/collectd-nagios.pod +++ b/src/collectd-nagios.pod @@ -1,3 +1,5 @@ +=encoding UTF-8 + =head1 NAME collectd-nagios - Nagios plugin for querying collectd @@ -63,6 +65,12 @@ The warning and critical ranges are applied to the average of all values. The warning and critical ranges are applied to the sum of all values. +=item B + +The warning and critical ranges are applied to the ratio (in percent) of the +first value and the sum of all values. A warning is returned if the first +value is not defined or if all values sum up to zero. + =back =item B<-c> I @@ -88,6 +96,12 @@ I (and the colon) may be omitted, I is then assumed to be zero. If I (but not the trailing colon) is omitted, I is assumed to be positive infinity. +=item B<-m> + +If this option is given, "Not a Number" (NaN) is treated as I. By +default, the I consolidation reports NaNs as I. Other +consolidations simply ignore NaN values. + =back =head1 RETURN VALUE @@ -96,7 +110,7 @@ As usual for Nagios plugins, this program writes a short, one line status message to STDOUT and signals success or failure with it's return value. It exits with a return value of B<0> for I, B<1> for I and B<2> for I. If the values are not available or some other error occurred, -it returns B<3> for I. +it returns B<3> for I. =head1 SEE ALSO @@ -107,6 +121,6 @@ L =head1 AUTHOR -Florian Forster EoctoEatEverplant.orgE +Florian Forster EoctoEatEcollectd.orgE =cut