On Wed, 2 Mar 2005 12:48:07 -0500 sun wrote: S> I have a table with 2 indexes. The table Enry defined an auxiliary S> variable for second index to indentify the instance. S> I used mib2c.iterate_access.conf to generate the code frame work. In my S> xxx_get_next_data_point() function, I did something like : S> S> snmp_set_var_value(pindex, index_data1, size ); /* set the first index value S> */ pindex = pindex->next_variable; S> snmp_set_var_value(pindex, index_data2, size); /* set the second index S> value */ S> S> Both index values are integer type.
that looks about right. S> the problem is , I can not see the second index value when I try to poll S> the table view. It did showed that I have 2 rows, instance is 0.0 and 0.1, First off, the use of 0 as an index is strongly discouraged. You should try and start with 1. S> but the column for second index has nothing show up, all other column showed S> the right value. That sounds like it would be a problem in the handler which sets the data values. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users