[SNMP4J] missing values with walk operation

Frank Fock fock at agentpp.com
Thu Mar 24 11:52:52 CET 2011


Hi,
The agent does not seem to implement lexicographic ordering correctly or has problems to process a GETBULK pdu correctly.
Best regards
Frank



Am 23.03.2011 um 10:09 schrieb Katona Attila <akatona at inca.co.hu>:

> I have a problem with snmp4j when getting the 64bit counter
> information from a cuda1000 cmts. The result with the linux snmpwalk:
> 
> snmpwalk -v 2c -c public 10.251.0.2 .1.3.6.1.2.1.31.1.1.1.6
> IF-MIB::ifHCInOctets.8781825 = Counter64: 0
> IF-MIB::ifHCInOctets.8781826 = Counter64: 0
> IF-MIB::ifHCInOctets.8781827 = Counter64: 54192
> IF-MIB::ifHCInOctets.8781828 = Counter64: 105430070
> IF-MIB::ifHCInOctets.8781829 = Counter64: 436345387
> IF-MIB::ifHCInOctets.8781830 = Counter64: 0
> IF-MIB::ifHCInOctets.8781831 = Counter64: 0
> IF-MIB::ifHCInOctets.8781832 = Counter64: 0
> IF-MIB::ifHCInOctets.8978433 = Counter64: 0
> IF-MIB::ifHCInOctets.8978434 = Counter64: 0
> IF-MIB::ifHCInOctets.8978435 = Counter64: 0
> IF-MIB::ifHCInOctets.8978436 = Counter64: 0
> IF-MIB::ifHCInOctets.1082392576 = Counter64: 0
> IF-MIB::ifHCInOctets.1099169793 = Counter64: 0
> 
> The result with the snmp4j:
> 
> java -jar SNMP4J.jar -c public -v 2c -p GETBULK -Ow udp:10.251.0.2/161
> 1.3.6.1.2.1.31.1.1.1.6
> 2011.03.23. 10:01:41 org.snmp4j.log.JavaLogAdapter log
> INFO: UDP receive buffer size for socket 81.0.107.2/0 is set to: 55808
> 1.3.6.1.2.1.31.1.1.1.6.8781825 = 0
> 1.3.6.1.2.1.31.1.1.1.6.8978433 = 0
> 1.3.6.1.2.1.31.1.1.1.6.8978434 = 0
> 1.3.6.1.2.1.31.1.1.1.6.8978435 = 0
> 1.3.6.1.2.1.31.1.1.1.6.8978436 = 0
> 1.3.6.1.2.1.31.1.1.1.6.1082392576 = 0
> 1.3.6.1.2.1.31.1.1.1.6.1099169793 = 0
> 
> Total requests sent:    1
> Total objects received: 7
> Total walk time:        72 milliseconds
> 
> I've tried with snmp4j-1.11.2.jar (java version: sun 1.5.0_22 os:
> debian linux 5.0.8)
> 
> Please help, Thx,
> Attila Katona
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list