Hi Frank,
I got below results which seems strange for ‘snmpbulkget’.
If my understanding is correct, I expect it responds with the results of the requested 2 OIDs, but it didn’t. And where are ‘4976.10.1.1.20.1.4.1.2.x’ from?
Could you please help to clarify about this? How to debug this?
Very appreciated.
I use snmp4j-agent-2.6.0 and snmp4j-2.5.3.
OIDs are from example code ‘Snmp4jDemoMib.java’.
The commands ‘snmpbulkget’ / ‘snmpwalk’ are from net-snmp.
[vcapuser@localhost ~]$ snmpwalk -c public -v 2c localhost 1.3.6.1.4.1.4976.10.1.1.20.1.1.0
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.1.0 = STRING: "TestResponse"
[vcapuser@localhost ~]$ snmpwalk -c public -v 2c localhost 1.3.6.1.4.1.4976.10.1.1.20.1.3.0
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.3.0 = INTEGER: 5
[vcapuser@localhost ~]$ snmpbulkget -c public -v 2c localhost 1.3.6.1.4.1.4976.10.1.1.20.1.3.0 1.3.6.1.4.1.4976.10.1.1.20.1.1.0
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.1 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.3.0 = INTEGER: 5
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.2 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.1 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.3 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.2 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.4 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.3 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.5 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.4 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.6 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.5 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.7 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.6 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.8 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.7 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.9 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.8 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.10 = INTEGER: 1
SNMPv2-SMI::enterprises.4976.10.1.1.20.1.4.1.2.9 = INTEGER: 1