[SNMP4J] createRow clarifications

Marco.Bresciani at alcatel.it Marco.Bresciani at alcatel.it
Wed Feb 8 09:20:44 CET 2006


Hi all,
  i'm trying to use the createRow method. Following the JavaDoc guidelines 
I've used the following parametres:
 - a CommunityTarget object;;
 - an OID object that contains that full OID value for the rowStatus 
datum: 1.3.6.1.4.1.637.54.1.1.3.1.28.1.2.5;
 - an OID object that contains the index of the table row: 
1.3.6.1.4.1.637.54.1.1.3.1.28.1.2.5;
 - a VariableBinding array with all the data (OIDs and values) I have to 
put in the row.

These are the data captured by Ethereal:

No.     Time        Source                Destination           Protocol 
Info
      1 0.000000    10.0.1.55             10.0.1.2              SNMP SET 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.3.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5

      2 0.111755    10.0.1.2              10.0.1.55             SNMP 
RESPONSE 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.3.1.3.6.1.4.1.637.54.1.1.3.1.28.1.5

And this first part (packets number 1 and 2 are my createRow and the 
response (that contains an "inconsistent value" error) while this second 
part

      3 2.528910    10.0.1.55             10.0.1.2              SNMP SET 
iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.5
      5 2.876386    10.0.1.2              10.0.1.55             SNMP 
RESPONSE iso.3.6.1.4.1.637.54.1.1.3.1.28.1.2.5

is the older createRow method I'm tryign to substitute. Where's my error?! 
Can't understand...

Thank you for any (URGENT, please) help,

Dott. Ing. Marco Bresciani

-- 
Alcatel - WTD R&D SW Lab. [Stage]
Via Trento, 30
20059 Vimercate (Mi) Italia
Phone: +39.039.686.5546
E-Mail: Marco.Bresciani at Alcatel.It



More information about the SNMP4J mailing list