<span class="gmail_quote"></span>
<font face="Courier New" size="2"><span style="font-size: 10pt;">I' m using nagiosVersion 2.0 , on FreeBSD 6.0
, plugin version 1.4</span></font><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">I HAVE CHANGED THE CONFIG AS REQUESTED BUT I'M STILL GETTING THE DOWN STATUS ON
THE DEVICE.</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">CAN I HAVE MORE DETAILS ON THE: check_command: check_ping!30.0,1%!60.0,10%
</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">For what I know 30 stands for the response time in milliseconds for
nagios to deliver a warning status and 1 is the packet loss.</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">60ms is the critical status. </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">define service{</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> use generic-service ; Name
of service template to use</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> host_name cisco_xxxx</span></font></p><span class="q">
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> service_description PING</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> is_volatile 0</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> check_period 24x7</span></font></p></span>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> max_check_attempts 6</span></font></p><span class="q">
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> normal_check_interval 2</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> retry_check_interval 1</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> contact_groups cpl</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> notification_options w,u,c,r</span></font></p></span>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> notification_interval 120</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> notification_period 24x7</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> check_command check_ping!30.0,1%!60.0,10%</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Thanks.</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Regards,</span></font></p><span class="sg">
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Grace</span></font></p></span></div></div></blockquote>
<font face="Courier New" size="2"><span style="font-size: 10pt;"><br>Your command definition as it stands will return a warning status if your host responds outside of 30ms or there is => 1% packet loss. It will return a critical status if the host takes longer than 60ms to respond or there is =>10% packet loss.
<br><br>Rob<br></span></font></div>