Status Unknown w/check_by_ssh. Command line OK.

BOLLENGIER Eric ebollengier at sigma.fr
Wed Dec 29 09:54:42 CET 2004


Hi,

> Nagios is running on RH Linux, and the target host is Solaris 9.
> Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0,
> protocol versions 1.5/2.0.

Stop, you bug is hier...

When you start an remote ssh command with a closed stdin, sun sshd
will return 255 as exit code.

ssh remoteuser at 149.152.10.183 ls < /dev/null
echo $?
=> 255

We have also this bug. Change your sshd to openssh or write to your
support.

Bye


> The remote script worked correctly when monitoring services on a
> Solaris 8 box which was running SSH Secure Shell (non-commercial
> license).  Check_by_ssh is from nagios-plugins 1.4.0alpha1, version
> 1.18. 
> 
> What am I not seeing?  It's probably some bonehead maneuver on my
> part, but has anyone else run into (and found their way around) this? 
> 
> Scott Zak 
> Connecticut State University System.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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