Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

How to Troubleshoot SNMP

VERSION 2  Click to view document history
Created on: Sep 14, 2009 11:21 AM by Noel Brockett - Last Modified:  Sep 14, 2009 3:14 PM by John Hamilton

An integral part of how Zenoss collects information from remote systems is SNMP. Here are some tips & tricks on how to solve possible SNMP issues.

Agent Issues

Make sure an SNMP agent is actually running and accessible from the Zenoss server. You can do so by simply issuing the following command on the Zenoss server:

snmpwalk -c YOUR_COMMUNITY_STRING -v 1 YOURDEVICE_IP (if you don't know your community string try "public")

You are in trouble if the above command returns:

Timeout: No Response from 1.2.3.4

This means that the device isn't answering to your SNMP request, this could have multiple reasons:

Linux

 

There is no SNMP daemon running on the target device. You can check this by issuing

netstat -an |grep -i udp

see if there is an entry that looks like the one below.

udp   0.0.0.0:161    0.0.0.0:*

If so the agent is running on UDP port 161, but Zenoss can't get the information for a different reason.

The SNMP daemon is running but the configuration doesn't allow any connections. Put "rocommunity public" into /etc/snmp/snmpd.conf to give read access to Zenoss. Look here for more details on how to configure Net-SNMP The specified document was not found..

Is there a Firewall on the target device or between the Zenoss server and the target device. You can use tcpdump to debug this issue.

Windows


Check to see whether the target device has an SNMP agent installed and running:

Picture 1.png

If you have a running SNMP agent as shown above you need to make sure to set access permissions to the agent accordingly:

Picture 2.png

The above configuration shows the current machines community string is public and it allows connections from any host. This can be adjust as needed of course.

 

Also one should check to see whether the Windows Firewall allows incoming connections to the SNMP agent:

Picture 3.png

Note: Running the default Microsoft SNMP agent will provide only a limited set of information to you. In order to get the largest set of information from your Windows systems we suggest you use SNMP Informant instead. Check here to see how toThe specified document was not found..

Comments (0)