Why would I be getting "WARNING - SNMP check timeout." in nagios? (For various things like load and disk space checks)

snmpd is running fine on the machine being checked.

Please let me know what additional info I can provide too. Thanks!

  • Have you run the check command from the command line outside of Nagios? Does it timeout when you do that? – Starfish Mar 6 '12 at 18:58

The response did not get back to the manager within the timeout period. Could have been that the host was busy when the snmp request was sent. Could be that it got lost on the way to or from due to network congestion.

How often does it happen ?

If every time, check for firewalls blocking snmp, either on the network or the host.

  • It persists for days at a time. I have tried restarting snmpd on the host being monitored, but no luck. It only happens for like one or two different alerts though, the rest go through fine, and I'm assuming SNMP is used for at least a few of those. Why would it work for one kind of alert and not another? (Different alerts on different machines give that error too) – cat pants Mar 6 '12 at 19:56
  • What kind/version of servers ? SNMP or WMI if Windows ? – kls Mar 6 '12 at 20:18

SNMP is one of the first services that gets unresponsive when the server is under load. You can raise the timeout-value and you can raise the number of retries to avoid this error.

For big table-traversals you should rather use SNMP v2c with the snmp-get-bulk capability than SNMP v1 with its single snmp-gets (one value at a time, each in in its own UDP packet).

On some systems I even get timeouts if I try to snmpwalk localhost. No problems with snmpbulkwalk...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.