Re: cache load never gets called

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 30 March 2010 21:12, Kathy McLeod <[email protected]> wrote:
> I ran the mib2c to generate a cache handler for a file created using
> mib2c.table_data.conf.  The main function still works ok, but even tho I
> set the cache timeout value to -1, it never seems to expire.  I also tested
> with a timeout value of 60 and it didn't expire.  The only debug statements
> I get are the ones in the init and deinit routines.  I am not able to
> figure out what is wrong.

The cache helper is not getting injected into the helper chain correctly.
It needs to be inserted before the handler "TABLE_TDATA_NAME"
rather than "TABLE_DATA_NAME".

I'll tweak the mib2c config file accordingly.

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.