Need to know Index values of a table from table handler

Max 00 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Example table:
--------------------------------------
+--myTestTable(1)
   |
   +--myTestEntry(1)
      |  Index: myTestId1, myTestId2
      |         0-10       1-10
      +-- -R-- INTEGER   myTestId1(1)
      +-- -R-- INTEGER   myTestId2(2)
      +-- -R-- INTEGER   myColx(3)
      +-- -R-- INTEGER   myColy(4)

Need to know the column (index vaues) in a row of the table from
the table handler (code created with mib2c.create-dataset.conf).
If I use mib2c.array-user.conf, I can get the values from index item argument.
But I need to know how to do that in case of mib2c.create-dataset.conf.

Example:
For:
    snmpget -v2c -c public 127.0.0.1 myColx.0.1
Need to know the index values 0 and 1 from table handler

For:
    snmpget -v2c -c public 127.0.0.1 myColx.1.9
Need to know the index values 0 and 9 from table handler

For:
    snmpget -v2c -c public 127.0.0.1 myColy.0.1
Need to know the index value 0 and 1 from table handler

I need the column index info so that the value can be updated by calling
snmp_set_var_typed_value().

I played around with netsnmp_table_data_set_find_column(),
but it does not seem to work or I do not know how to use it
properly.

Thanks.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.