This is a discussion on RE: net-snmp: table_array refresh within the SNMP Users forums, part of the Networking and Network Related category; Hi Robert, Any info on this? I am currently using Netsnmp v5.0.9 and can't use stale cache ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Robert,
Any info on this? I am currently using Netsnmp v5.0.9 and can't use stale cache method available in 5.2.1. Even if I am using iterate, and if I try to populate data in get_firstXXX routine, it would call the data gather function for each request, and in a get_next scenario, this is not efficient. Regards, Geo -----Original Message----- From: George, Geo=20 Sent: Tuesday, June 28, 2005 10:51 AM To: 'net-snmp-users@lists.sourceforge.net' Subject: net-snmp: table_array refresh Hi all, I have developed a sub agent using netsnmp. One of the tables is implemented using array_user.conf, which polls and updates the table periodically. It works fine in that scenario. Now, if I want to disable polling and want to return fresh data on a get request, can I call my data fetch routine, on each GET request arrival? I know Iterate.conf code can do that. If it is possible, which function to override? Thanks, Geo ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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/...net-snmp-users |