<p>Regarding check_ping critical issues...</p><p>For this particular issue, the high pings that you are seeing could be indicative of a problem, and not necessarily false positives.  High ping times could be indicative of a saturated link, or other problems.  If you have time, look into the problem by checking the health of the switch or router.  Playing around with the <b>check_interval, retry_interval, max_check_attempts </b> values can help you avoid the pitfalls of the false positives happening while still making the check_ping checks still provide valuable alerts indicative of an issue within the network.  Tweaking these values sometimes seem to be more of an art than a science, but it is doable.</p>

<p>Regarding SNMP checks helping...</p><p>We use some SNMP checks which can help.  Of particular interest for routers and switches, it is beneficial to know when either receive or transmit queues are seeing any kind of errors, such as a transmit error, CRC error, etc.  To do this, you need to turn SNMP on the router, and utilize the <b>snmpwalk</b> command in Linux to determine the MIBs you have available (check <b>snmpwalk --help</b> for usage).  Once you have found a stat you want you can use the <b>check_snmp</b> plugin to get alerts on your SNMP data that you are interested in.</p>

<p>In addition, the new <b>check_snmp</b> plugin from the nagios_plugins package (version 1.4.15) can provide information so that you can check the rate on the stat, which can be beneficial for some stats, such as the amount of packets or bytes of traffic that is going through the interface.</p>

<p>Hope this helps!</p>

<p>It is not perfect, but this another useful way that we have found problems with our routers/switches.</p>
<div class="gmail_quote">On Jul 5, 2011 6:42 AM, "Bailey, Damian S." <<a href="mailto:baileyds@lcps.k12.va.us" target="_blank">baileyds@lcps.k12.va.us</a>> wrote:<br type="attribution">> Good morning!<br>

> <br>>  <br>
> <br>> After posting a bit ago, I found that other Nagios users experienced the<br>> same issue I did in relying on the check_ping routine when monitoring<br>> Cisco switches - they would occasionally return false critical; however,<br>


> the switches were actually still online and would immediately recover.<br>> <br>>  <br>> <br>> So this leads me to the obvious question - how do you all use Nagios to<br>> effectively monitor Cisco switches?  Is there a better way to check<br>


> these with snmp?  Something else?<br>> <br>>  <br>> <br>> Thanks!<br>> <br>>  <br>> <br>> Damian Bailey<br>> <br>> Lead Technician | LCPS Technology<br>> <br>>  <br>> <br>> From: Bailey, Damian S. <br>


> Sent: Monday, June 27, 2011 11:55 AM<br>> To: '<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a>'<br>> Subject: new to Nagios - known issue w/ Cisco switch host checks?<br>


> <br>>  <br>> <br>> We're new to using Nagios but I've grown to love it!  In using the<br>> product to perform host checks on our Cisco switches, I find that they<br>> "randomly" will fail, then recover almost immediately.<br>


> <br>>  <br>> <br>> I think the host checks use ping to verify that the switches are active.<br>> <br>> <br>>  <br>> <br>> Is there something I am likely doing wrong, or should I look at our<br>


> network as a possible cause?  Our network itself isn't perfect...but I<br>> don't want to go looking for problems if it's a nagios issue.<br>> <br>>  <br>> <br>> Thanks for any help.  I'll be glad to provide more info if needed.<br>


> <br>>  <br>> <br>> Damian Bailey <br>> <br>> Lead Technician | LCPS Technology<br>> <br></div>