[SNMP4J] MIB response Incorrect

Cleaveland, AJ Allan @ IS Allan.J.Cleaveland at L-3Com.com
Wed Oct 19 18:47:07 CEST 2005


I'm trying to use SNMP4J to monitor a machine's MIBs that I can see through
several other methods.  While the other methods show large results, SNMP4J
always returns 0 for the InInOctet and IfOutOctet MIBs.  I'm using
1.3.6.1.2.1.2.2.1.10.interfaceNumber, 1.3.6.1.2.1.2.2.1.16.interfaceNumber,
and 1.3.6.1.2.1.2.2.1.5.interfaceNumber and these are my results:
 
 
Received response PDU1 is: RESPONSE[reqestID=42750849, timestamp=0:00:00.00,
enterprise=, genericTrap=0, specificTrap=0, VBS[1.3.6.1.2.1.2.2.1.10.65542 =
0]]
Received response PDU2 is: RESPONSE[reqestID=42750850, timestamp=0:00:00.00,
enterprise=, genericTrap=0, specificTrap=0, VBS[1.3.6.1.2.1.2.2.1.16.65542 =
0]]
Received response PDU3 is: RESPONSE[reqestID=42750851, timestamp=0:00:00.00,
enterprise=, genericTrap=0, specificTrap=0, VBS[1.3.6.1.2.1.2.2.1.5.65542 =
1000000000]]
 
However, using other tools to look at the same MIBs on the same device
returns very large numbers, not zero, for the first two.
 
Can anyone suggest what I might be doing wrong?
 
Allan



More information about the SNMP4J mailing list