Re: exec directive support confusion

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26 April 2011 20:24, Kelsey Cummings <[email protected]> wrote:
> We are in the process of getting RHEL6 ready for use and have run into a
> problem with exec support.  However they've got 5.5 configured, exec
> directives are not actually used.

Are you using entries of the form

     exec  name    command
or
     exec  OID  name  command
?

The first form should work regardless.
The second form has been deprecated
   (not least because the output structure is invalid!)

Ideally, you look at moving to use the "extend" directive instead.
This is a much more flexible mechanism,  which is also not
dependent on the order of entries within the snmpd.conf file(s).



>                                       However, it will be far
> easier for us to migrate if we we can use all of the existing code and
> configs.  It's not clear to me what option should be passed into snmpd
> at compile time to enable the old exec behavior.

Try
             --with-mib-modules=ucd-snmp/exec

Dave

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.