Checking stuff on remote hosts question

Tedman Eng teng at dataway.com
Wed Nov 3 02:27:58 CET 2004


Jason Williams wrote:

> However, here is my problem. On the web interface, 
> I see this error on the remote host when it is 
> checking for the load average:
> bash: line 1: /usr/lib/nagios/plugins/check_load: 
> No such file or directory
>
> That tells me that the remote host is trying to 
> execute that command on itself, correct? If not, 
> im missing something.


That sounds right so far.  Check to see if you can run the remote command
manually via ssh:

[nagios]# ssh user at remotehost '/usr/lib/nagios/plugins/check_load -w 3,3,3
-c 5,5,5'
OK - load average: 0.23, 0.52, 0.73

If that works, then the plugin should work too.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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