[UPDATE] remote check_by path question

lance raymond lance.raymond at gmail.com
Tue Oct 27 16:08:02 CET 2009


Sorry, after a 10 or so minutes (not sure on the latency) but the error did
change.  It now shows the following;
Warning threshold must be float or float triplet!I am hitting a meeting now
but at least there is progress and something else I can google unless
someone knows of this already and has a simple fix.  Will check back after
the meeting regardless, thanks as always.

---------- Forwarded message ----------
From: lance raymond <lance.raymond at gmail.com>
Date: Tue, Oct 27, 2009 at 11:01 AM
Subject: remote check_by path question
To: Nagios Users <nagios-users at lists.sourceforge.net>


I now want to add some remote checks, and it looks like a simple path issue,
yet I can't seem to verify.  The groundwork server, and all webservers are
running Ubuntu-Server 8.10.  SSH key's are setup with the user nagios, and I
can remotely ssh in to the 1st webserver no problem.  I am / was getting the
following error;
"Remote command execution failed: sh: libexec/check_load: not found " and
sure enough nothing was on that remote webserver.  So I installed both the
aptitude packages;
nagios-nrpe-plugin              - Nagios Remote Plugin Executor Plugin
nagios-nrpe-server              - Nagios Remote Plugin Executor Server

Not sure if I need the server or not, but it's installed and the check_load
and others are put in the default;
/usr/lib/nagios/plugins/
Looking at the error, I simply made a symlink under /home/nagios/libexec but
still getting the same error.  Below is just a copy/paste of the ssh in and
test.

nagios at groundwork:/usr/local/groundwork/nagios/etc$ ssh 192.168.50.101
ssh: /usr/local/groundwork/common/lib/libcrypto.so.0.9.8: no version
information available (required by ssh)
Linux ws1 2.6.27-7-server #1 SMP Tue Nov 4 20:16:57 UTC 2008 x86_64

Last login: Tue Oct 27 10:57:55 2009 from 192.168.50.6
$ libexec/check_load -w 5,4,3 -c 10,8,6
OK - load average: 0.74, 1.43, 1.66|load1=0.740;5.000;10.000;0;
load5=1.430;4.000;8.000;0; load15=1.660;3.000;6.000;0;

So things do seem to work, just not sure.  The checkcommand shows variable
USER22, I could probably hardcode the full path, but not sure if that's the
right thing to do.

Thanks as always.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091027/a5acd4c3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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