X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-nagios.pod;h=d7c749cd3391aefc86369c208193063111655fe6;hb=2f2744072ab144b8130b2296327fc3382e5f7f80;hp=49800255f266053fda3e990867c40a6fec80a7ba;hpb=c15b8401a52a76256e9c600a592beaf4c15e87a6;p=collectd.git diff --git a/src/collectd-nagios.pod b/src/collectd-nagios.pod index 49800255..d7c749cd 100644 --- a/src/collectd-nagios.pod +++ b/src/collectd-nagios.pod @@ -63,6 +63,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 +94,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 +108,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