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

Reply via email to