This is a discussion on Re: How to force a cache reload when dynamic interfaces within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 23 Nov 2005 10:41:26 -0600 Emi.Yanagi@radisys.com wrote: EYC> I implemented ifTable subagent ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, 23 Nov 2005 10:41:26 -0600 Emi.Yanagi@radisys.com wrote:
EYC> I implemented ifTable subagent using mib2c.mfd.conf, it works great but I EYC> have some questions about CACHE. You created a new implementation, right? No copying of the existing code? EYC> I want to trigger a cache reload only EYC> when dynamic interfaces creating/removing happen. I do not want to use EYC> cache flag NETSNMP_CACHE_AUTO_RELOAD because of performance reason. So what flags *are* you using? EYC> So I EYC> tried to call the cache load routine directly when dynamic interfaces EYC> creating/removing happen. The problem is I got the Error: OID not EYC> increasing: Depending on the flags set, you may need to free the cache before trying to reload it. Of course, if you know what interface was added/removed, you could add/remove it directly to the container instead of reloading the cache. EYC> Any advice would be greatly appreciated. Also note that ifIndexes should not get renumbered as rows are inserted/deleted. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. 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-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |