Re: pass-through feature seems to cache data

Alexandre Pashai <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks a lot !

I've recompiled net-snmp by modifying:

include/net-snmp/net-snmp-config.h

and it works in "real-time" mode.

bye!
--Alexandre.


Roman Medina-Heigl Hernandez wrote:

>Dave Shield wrote:
>  
>
>>The workaround is to edit the file
>>	include/net-snmp/net-snmp-config.h
>>remove the definition of EXCACHETIME, and re-compile the agent.
>>
>>The proper fix is to recode the 'pass.c' implementation to use
>>the v5 APIs, and one of the cache-related helpers - either the
>>cache helper directly (as per 'extend.c'), or via the
>>'stash-cache' helper.
>>  This would allow dynamic control of individual pass-through
>>entries - caching or not caching as the user (N/W administrator)
>>desired.
>>    
>>
>
>First, thanks Dave for your response / workaround. It works perfectly :)
> Another question, then... which is the preferred method to extend
>GET/SET functionality? I want SNMPD to serve via SNMP the content of a
>SQL table. Any example or idea about how to implement this interface
>sql-table/SNMP? Which related docs should I read? I'm a bit lost...
>
>TIA.
>-R
>
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.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
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.