negate plugin

thierry gicquel thierry.gicquel at dcbrain.com
Mon Jun 18 17:11:33 CEST 2018


hI,

I tried to use plugin "negate" with check_icmp but ther is no inversion of
result.

I tried like this

./negate --critical=OK --warning=UNKNOWN /usr/lib/nagios/plugins/check_icmp
-n 5 -c 400,50% -w 200,20% -H hostaddress

the result = CRITICAL - hostaddress: rta nan, lost
100%|rta=0.000ms;200.000;400.000;0; pl=100%;20;50;; rtmax=0.000ms;;;;
rtmin=0.000ms;;;;

Nota : i have replaced with a valid address of course :-)

Normally the result would be OK because my server is down ...

Thierry Gicquel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20180618/d57cd974/attachment.html>


More information about the Help mailing list