2011/3/22 Naama Bar Menachem <naama.barmenac...@novelsat.com>:
> Thanks for the quick response.
> Does this mean that if the manager send a getnext request with index 10 it 
> will call the
> get_first_data_point and than in the worst case 9 times get_next_data_point.

Yes.

The iterator helper is designed for ease of use,
rather than efficiency.


> If that is the case, is there a more efficient way that will retrieve the 
> next row in one iteration?

Either cache the list of valid rows internally within the agent
(e.g. using the table_data config) and then retrieve the data
for that row from within the handler itself.

Or use 'mib2c.raw-table.conf'  and have the handler deal with everything.

Dave

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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

Reply via email to