All,
   Also wanted to point out that snmpwalk, however, returns the entries
correctly in lexicographic order!!!!,
Regards,
Arijit

-----Original Message-----
From: Mukherjee, Arijit (Arijit) 
Sent: Monday, June 14, 2004 9:11 PM
To: '[EMAIL PROTECTED]'
Subject: Problem with snmp getnext in table


All,
   I am having some problem with SNMP getnext operation for a table. For
scalars, the same works fine, however, for a table I am having the following
problem:

   I have a table which has got 2 indices and the following is the scenario:

   oid of table: x
   oid of tableEntry: x.1
   It has 6 columns (assume names A, B, C, D, E, F) with oid extensions as
1, 2, 3, 4, 5, 6 with A and B as the indices.

   If I do a snmpgetnext on x - it returns the first row for A.
   If I do a snmpgetnext on x.1.1, I get the first row value for column A
(x.1.1.1.1)
   If I do a snmpgetnext on x.1.2, I still get the first row value for
column A (x.1.1.1.1), while, I should have got the value for oid x.1.2.1.1


   Could someone, kindly point out if my expectation (and therefore, my
understanding of snmpgetnext) is wrong....,
Thanks and regards,
Arijit


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to