Subject: cacti and snmp query on ethernet interface
To: None <port-sparc@netbsd.org>
From: D G Teed <donald.teed@gmail.com>
List: port-sparc
Date: 06/26/2007 22:36:27
Howdy...

I managed to get snmpd working on Linux x86 so that with
a configured snmpd.conf I can query:

snmpwalk -v 1 -c bedford localhost interfaces

and get response back on the localhost

I'm not well versed on SNMP stuff but I have failed to
get a reponse from the same command on my
sparcstation 20 running NetBSD 3.1 with an le0 interface.

I googled around and borrowed from other configurations
I saw, but no change.

lsof -Pni shows snmp is listening:

snmpd    3705  root    8u  IPv4 0xf0b6bb40      0t0  TCP *:199 (LISTEN)
snmpd    3705  root   10u  IPv4 0xf0b647e0      0t0  UDP *:161

This is the snmpd.conf:

==============================================

sysservices 76

rocommunity  bedford 192.168.0.0/24

com2sec paranoid  default         public
group MyROSystem v1        paranoid
group MyROSystem v2c       paranoid
group MyROSystem usm       paranoid
group MyROGroup v1         readonly
group MyROGroup v2c        readonly
group MyROGroup usm        readonly
group MyRWGroup v1         readwrite
group MyRWGroup v2c        readwrite
group MyRWGroup usm        readwrite
view all    included  .1                               80
view system included  .iso.org.dod.internet.mgmt.mib-2.system
access MyROSystem ""     any       noauth    exact  system none   none
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

==================================================

And this is the response:

# snmpwalk -v 1 -c bedford localhost interfaces
Timeout: No Response from localhost

Is there anything else I can try or do to trace this?

--Donald