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 <[EMAIL PROTECTED]> 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
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to