<div dir="ltr">hI, <div><br></div><div>I tried to use plugin "negate" with check_icmp but ther is no inversion of result.</div><div><br></div><div>I tried like this</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">./negate --critical=OK --warning=UNKNOWN /usr/lib/nagios/plugins/check_icmp -n 5 -c 400,50% -w 200,20% -H hostaddress</span></span><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">the result = <span style=""><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">CRITICAL - hostaddress: rta nan, lost 100%|rta=0.000ms;200.000;400.000;0; pl=100%;20;50;; rtmax=0.000ms;;;; rtmin=0.000ms;;;; </span><br>
<br></span></span></span><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span>Nota : i have replaced with a valid address of course :-)</span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span><br></span></span></span></div><div><font color="#000000" face="monospace">Normally the result would be OK because my server is down ...</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">Thierry Gicquel</font></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span><br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span><br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span><br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span><br></span></span></span></div></div>