This is definitely not a firewall issue as no firewalls are in between the src and tgt machines. I'm simply setting up snmp to be queried by a nagios server. My snmpd.conf looks like the following (I'm using net-snmp on Ubuntu 9.10):
com2sec nagiossrv 10.10.10.10 public
group Nagios v1 nagiossrv
view all included .1
access Nagios any noauth exact all none none
When I try to walk it:
t:/etc/nagios3# snmpwalk -v1 -c public 10.10.10.10 system
Timeout: No Response from 10.10.10.10
Any idea where I went wrong with my configuration?
Best Answer
Usually when you get silence like that, especially from a snmpwalk or snmpget, it means that the device isn't getting your query, isn't using the snmp version you think it is, isn't configured to accept queries from your IP address, or isn't accepting your community.
Confirm that snmp is on, that the version and community is correct, that any query-based restrictions permit queries from your IP address, and that you are querying both the device and the part of the MIB you think you are.
A good basic query for most snmp v1 devices is:
...substitute for "public" and $IP as appropriate.
Although it may not be exactly what you want, this is the snmpd.conf file that I use on Linux nodes that are being queried by cacti: