RV: check_snmp : External command error with no output (return code: 3)

Ricardo Melendez rmelendez at utep.com.mx
Wed Oct 28 00:35:05 CET 2009


Hi, Stuart

Well, I download and install "net-snmp-5.4.2.1",  and run:

./configure
make
make install

No more config in net-snmp.


Next, I launch compilation for nagios-plugins with quickstart instructions
but the "check_hpjd" and "check_snmp" do not compile.

Then I launch the ./configure script for nagios-plugins with
"--with-snmpget-command=/usr/local/bin" , because the snmpget binary lies
here.

All my snmp enabled host work fine with snmpwalk.


Thanks for help.

  
Ricardo 


-----Mensaje original-----
De: Stuart Browne [mailto:stuart.browne at ausregistry.com.au] 
Enviado el: Martes, 27 de Octubre de 2009 04:38 p.m.
Para: Ricardo Melendez; nagios-users at lists.sourceforge.net
Asunto: RE: [Nagios-users] RV: check_snmp : External command error with no
output (return code: 3)

> From: Ricardo Melendez [mailto:rmelendez at utep.com.mx] 
> Sent: Wednesday, 28 October 2009 06:19
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] RV: check_snmp : External command error with no
output (return code: 3)
>
> Hi, this is the verbose output,
>
> nagios at nagios:/usr/local/nagios/libexec$ ./check_snmp -H 192.168.1.5 -C
MYCOMMUNITY -o ifOperStatus.1 -r 1 -m RFC1213-MIB -v
>
> /usr/local/bin/ -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv] 192.168.1.5:161
ifOperStatus.1
> External command error with no output (return code: 3)
>
> It seems that the "/usr/local/bin" directory is where "snmp-net" package
is installed, all the binaries are here.
>
> Any idea.
>
> Thanks 

It seems odd to me that it's "/usr/local/bin" and not
"/usr/local/bin/snmpget".

What version of the check_snmp plugin are you using?
How was it compiled?
What was passed to the './configure' as the "--with-snmpget-command=" ?

Stuart Browne



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list