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, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |