[CentOS] net-snmp-5.5-27.el6.i686

Mon Nov 28 21:13:13 UTC 2011
Steve Clark <sclark at netwolves.com>

Hello,

Can someone explain why I don't get a timeout when I use the community string "public" even if I don't have it
defined in my snmpd.conf file. It doesn't return data but it also doesn't timeout. See example below.
...
rocommunity nobody 127.0.0.1
...

[root at L703108 pgsql]# snmpwalk -v 1 -c public 127.0.0.1 1.3.6.1.2.1.2.2.1 ifMIB

[root at L703108 pgsql]# snmpwalk -v 1 -c xyz 127.0.0.1 1.3.6.1.2.1.2.2.1 ifMIB
Timeout: No Response from 127.0.0.1

[root at L703108 pgsql]# snmpwalk -v 1 -c nobody 127.0.0.1 1.3.6.1.2.1.2.2.1 ifMIB
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
...



-- 
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com