RV: check_snmp : External command error with no output (return code: 3)
Stuart Browne
stuart.browne at ausregistry.com.au
Wed Oct 28 01:47:18 CET 2009
> -----Original Message-----
> From: Ricardo Melendez [mailto:rmelendez at utep.com.mx]
> Sent: Wednesday, 28 October 2009 10:35
> To: Stuart Browne; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] RV: check_snmp : External command error
> with no output (return code: 3)
>
> 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.
The switch '--with-snmpget-command' needs the full path to the binary, not just the directory name.. So try compiling the plugins with:
--with-snmpget-command=/usr/local/bin/snmpget
This will populate the PATH_TO_SNMPGET in the Makefile, which will then compile it into 'check_snmp'.
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