SNMP Plugin Timeout: No Response from *Host*

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jenglee
Posts: 10
Joined: Tue Nov 20, 2012 4:50 pm

SNMP Plugin Timeout: No Response from *Host*

Post by jenglee »

I am trying to use the built in check_snmp and can only get a response from localhost.
When I try to get snmp response my windows machine from my nagios server on CentOS I get No response.
Can someone help me with getting snmp working?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: SNMP Plugin Timeout: No Response from *Host*

Post by jsmurphy »

Might need some more information such as: have you enabled SNMP on the windows/linux servers? Are there any potential network impediments like firewalls either on your servers or between network segments? Any information on stuff you have tried so far that didn't work, could also help :) .
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Re: SNMP Plugin Timeout: No Response from *Host*

Post by eltrasimaco »

If the windows machine is pingable, verify the udp 161 port is open (nmap or so); then try the snmpwalk command
jenglee
Posts: 10
Joined: Tue Nov 20, 2012 4:50 pm

Re: SNMP Plugin Timeout: No Response from *Host*

Post by jenglee »

I have enable SNMP on my windows computer. Firewall is disabled both on the nagios server and the windows box.
I have tried editing the snmpd.conf on the nagios server (I don't know what I am doing). I can ping my windows box but port 161is open|filtered (This could be the problem).
I have tried the snmpwalk command and it works on the nagios server pointing to its own ip address or localhost, but it does not work for the windows machine.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: SNMP Plugin Timeout: No Response from *Host*

Post by jsmurphy »

I think something is probably misconfigured on the windows server, you can use snmputil (http://support.microsoft.com/kb/323340) on the windows server to test if it's working locally. I've never personally configured the SNMP daemon on windows servers for active checks so my knowledge in the area is pretty light.

If I had to take a wild guess, I would say the snmp community string might not be correct or it's expecting you to use a particular version of SNMP (probably v1 or v2).
jcnb
Posts: 9
Joined: Wed Jun 13, 2012 5:31 am

Re: SNMP Plugin Timeout: No Response from *Host*

Post by jcnb »

I have had problems of this nature and most often is related to setup own plugin. Could you post the lines of plugin configuration?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: SNMP Plugin Timeout: No Response from *Host*

Post by slansing »

I would recommending doing as jsmurphy suggests, then let us know if anything changes.
Locked