>    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.

What type of values are 'A' and 'B' ?
I presume integers, from your description.

Are they defined as accessible or not?


>    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)

In both cases, this should return the first (accessible) entry in the
table.   This will probably either be x.1.1.1.1  (if A is defined as
accessible) or x.1.3.1.1 (if A and B are both defined as not-accessible)


>    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

Correct - assuming B is accessible.
(Otherwise you should get x.1.3.1.1 again)

You should certainly *not* get x.1.1.1.1

Dave



-------------------------------------------------------
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