Re: pass-through feature seems to cache data

This is a discussion on Re: pass-through feature seems to cache data within the SNMP Users forums, part of the Networking and Network Related category; Thanks a lot ! I've recompiled net-snmp by modifying: include/net-snmp/net-snmp-config.h and it works ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-11-2005
Alexandre Pashai
 
Posts: n/a
Default Re: pass-through feature seems to cache data

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0