[SNMP4J] MIB response Incorrect
Frank Fock
fock at agentpp.com
Wed Oct 19 20:36:37 CEST 2005
Hi Allan,
What are the "very high numbers" exactly you get with other tools?
Are you using the same SNMP version and request type (GET)?
Also a trace file from Ethereal would also help to identify the
problem.
Thanks,
Frank
Cleaveland, AJ Allan @ IS wrote:
>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
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list