Re: exec problem

This is a discussion on Re: exec problem within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 2005-06-08 at 13:12, Risto Vaarandi wrote: > After testing the agent with the -D option, ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2005
Dave Shield
 
Posts: n/a
Default Re: exec problem

On Wed, 2005-06-08 at 13:12, Risto Vaarandi wrote:
> After testing the agent with the -D option, I have found that the
> problem is actually caused by the lack of caching.


> Although the snmpd.conf man page mentions that the agent caches the
> return values of 'exec' script, it seems that with newer versions of the
> agent this caching is not working anymore. Is there a way to change that
> situation, e.g., with some special options for compiling the source?


You might like to try experimenting with the new "extend" directive.
This works in the same basic way as "exec", but supports independent
caching for each extension entry (separately configurable). The MIB
output format is somewhat different, but is significantly more flexible.

Try replacing "exec ....." with "extend .....", restart the agent,
and run snmpwalk on NET-SNMP-EXTEND-MIB::nsExtensions

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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:33 PM.


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