On Wed, 23 Nov 2005 10:41:26 -0600 [EMAIL PROTECTED] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to