remote check_by path question

lance raymond lance.raymond at gmail.com
Tue Oct 27 16:01:03 CET 2009


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