>>>>> On Wed, 29 Sep 2004 17:59:28 -0400, Robert Story (Users) <[EMAIL PROTECTED]> 
>>>>> said:

CRC> My first-pass implementation gets external data and caches it in
CRC> an array of structures inside the get_*_data_point() routines but
CRC> it takes a while.  As a result, if a client asks for individual
CRC> values from the table (one request per message), then I build the
CRC> table over and over again, incurring all of the overhead on every
CRC> request.

Robert> This is a know issue with the table iterator code.

You might read the "stash_cache" part of the man page, which will let
you cache the information out of the iterator (assumes 5.2.pre1 or
better I think) so that its only collected once every so often.
Requires either a snmpd.conf injectHandler call or a inject_handler
call from inside your code to turn on the functionality.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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