troubles with check_by_ssh

David Garvey david.garvey at gmail.com
Mon Nov 6 00:04:40 CET 2006


Nov  5 14:57:22 nagios nagios: Warning: Return code of 67 for check of
service 'Check_ssh_load' on host 'host22' was out of bounds.

I am getting the following error on a check_by_ssh command. It work fine
from the command line.


-bash-3.00$ ./check_by_ssh -l nagios -H host22 -C 'libexec/check_load -w 50
-c 75'
OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000
load5=0.000000;50.000000;75.000000;0.000000 load15=0.000000
;50.000000;75.000000;0.000000
-bash-3.00$ echo $?
0


On 10/25/06, David Garvey <david.garvey at gmail.com> wrote:
>
>
> I am have problems using the most recent libraries of ssh2 the commerial
> version. Here is the error when nagios runs the plug-in.
>
> Remote command execution failed: warning: You have no controlling tty.
> Cannot read confirmation.
>
> Here is the command line execution...
> -bash-3.00$ libexec/check_by_ssh -H host18 -t 30 -S 25 -C
> "libexec/check_load -w 50 -c 75"
> OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000
> load5= 0.000000;50.000000;75.000000;0.000000 load15=0.000000
> ;50.000000;75.000000;0.000000
> You have new mail in /var/spool/mail/nagios
>
> Here is the /var/log/messages on host18...
>
> Oct 25 15:10:10 host18 sshd2[870]: connection from "10.1.1.1"
> Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1".
> Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key
> exchange failed.
> Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote: 'Key
> exchange failed.'
>
> The ssh versions...
>
> host18
>
> ssh2 -V
> ssh2: SSH Secure Shell 2.2.0 on i686-pc-linux-gnu
>
> nagios
> ssh -V
> ssh: SSH Secure Shell 3.2.9.1 on i686-pc-linux-gnu
>
>
>
>
>



-- 
David Garvey
cell# 510-209-9012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061105/3d0a4fa0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- 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