[SNMP4J] MIB response Incorrect

Frank Fock fock at agentpp.com
Wed Oct 19 21:01:50 CEST 2005


Good to hear that it works now.
Ethereal is a packet sniffer. It is freely available for many
platforms - including Windows.

Best regards,
Frank

Cleaveland, AJ Allan @ IS wrote:

>21059633 for IfInOctets
>56322541 of IfOutOctets
>
>I'm using GetIf (and MRTG) to look at the stuff.
>
>Reading your email caused me to go back and make a single code alteration
>that fixed it.  Thank you very much.  It's always the little things that get
>you as a coder.
>
>Allan
>
>PS:  What's Ethereal?  I have to do this on a Windows box so if it's a Cisco
>or Linux tool I can't use it.
>
>-----Original Message-----
>From: Frank Fock [mailto:fock at agentpp.com] 
>Sent: Wednesday, October 19, 2005 1:37 PM
>To: Cleaveland, AJ Allan @ IS
>Cc: 'snmp4j at agentpp.org'
>Subject: Re: [SNMP4J] MIB response Incorrect
>
>
>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