Ferrari,
Thank you for your correspondence. If I ran "snmpwalk -v 1 -c public localhost" I'd get pages of responses back. This is just the first few lines of the responses:
SNMPv2-MIB::sysDescr.0 = STRING: Linux ken-Extensa-5620 3.2.0-67-generic #101-Ubuntu SMP Tue Jul 15 17:45:51 UTC 2014 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (21084) 0:03:30.84
SNMPv2-MIB::sysContact.0 = STRING: G. S. Marzot <gmarzot@marzot.net>
SNMPv2-MIB::sysName.0 = STRING: ken-Extensa-5620
SNMPv2-MIB::sysLocation.0 = STRING: Unknown
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
"nmap localhost" returns:
Starting Nmap 5.21 (
http://nmap.org ) at 2014-09-01 23:24 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000012s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
53/tcp open domain
199/tcp open smux
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
"lsof -Pni | grep snmpd" returns:
snmpd 14468 snmp 7u IPv4 607609 0t0 UDP 127.0.0.1:161
"lsof -i tcp:1161" returns nothing but
"lsof -i udp:1161" returns my snmp extension agent adeSensorsTable:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
adeSensor 15153 root 5u IPv4 623703 0t0 UDP localhost:1161
I think the name adeSensorsTable was truncated on the previous line.
I then tried to use snmpget to reach one of my extension agent objects:
snmptranslate -On xxxxx-MIB::adeSensorsTable.aDESensorsEntry.vrms
and got:
.1.3.6.1.4.1.43905.1.1.1.1.2
then I ran:
snmpget -v 1 -c public localhost:1161 .1.3.6.1.4.1.43905.1.1.1.1.2
I'd get the same response:
Connection from UDP: [127.0.0.1]:55176->[127.0.0.1]
Connection from UDP: [127.0.0.1]:55176->[127.0.0.1]
Connection from UDP: [127.0.0.1]:55176->[127.0.0.1]
Connection from UDP: [127.0.0.1]:55176->[127.0.0.1]
Connection from UDP: [127.0.0.1]:55176->[127.0.0.1]
from adeSensorsTable executable.
I'm stumped here!