Bluehost.com Web Hosting $6.95

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; ....I've tested this feature with the latest version of net-snmp running on Solaris 9: bash-2.05# /usr/...


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

....I've tested this feature with the latest version of net-snmp running
on Solaris 9:

bash-2.05# /usr/local/sbin/snmpd -version

NET-SNMP version: 5.2.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net


....and I confirm that 'pass' directive caches data for about 30 seconds.

Here is a sample in my snmpd.conf:

pass .1.3.6.1.4.1.92400.1.6.1.1 /etc/snmp/sh/ApplicationStatus.sh

Regards,
--Alexandre

Roman Medina-Heigl Hernandez wrote:

>I have the same problem too. Snmpd seems to refresh cache when it
>receives a SET request, which seems logical to me. The problem happens
>when you have other external methods of updating values which should be
>returned by Snmpd (for instance, if you have data store on a database,
>and want Snmpd to return its values; if database is updated Snmpd
>doesn't notice the change and cache is not refreshed).
>
>I haven't tested it but newer versions doesn't perform caching. At least
>according to the Faq:
>
>http://net-snmp.sourceforge.net/docs/FAQ.html
>...
>What's the difference between 'exec', 'sh' and 'pass'?
>-----------------------------------------------------
>...
>Note that with the 4.2.x and 5.0.x lines, return values are cached
> within the agent for 30 seconds, rather than invoking the command
> for every request. This does not hold for the 5.1.x agent.
>
>Regards,
>-Roman
>
>
>Alexandre Pashai wrote:
>
>
>>hi all,
>>
>>thep ass-through feature of net-snmp works quite well.
>>But, it seems to cache data for 30 seconds while i expect it to have a
>>"real-time" behavior...
>>
>>Is it possible for net-snmp to exec the script on each snmpget request ?
>>
>>Thanks for answers.
>>
>>Alexandre
>>
>>

>
>
>




-------------------------------------------------------
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 09:54 AM.


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