Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
    
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

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
    
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...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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