Re: exec directive support confusion

Kelsey Cummings <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, Apr 27, 2011 at 03:35:57PM +0100, Dave Shield wrote:
> 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!)

We're using the totally broken and totally deprecated exec OID format -
we know we should use extend it would just be a PITA to migrate 350+
hosts running different generations of snmpd and OSes all over to the
new format.  And/Or, update all of the pollers to understand and
automatically switch between both outputs.

> >                                       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

I'll give that a shot, thanks!

-- 
Kelsey Cummings - [email protected]      sonic.net, inc.
System Architect                          2260 Apollo Way
707.522.1000                              Santa Rosa, CA 95407

------------------------------------------------------------------------------
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.