Status Unknown w/check_by_ssh. Command line OK.

Dan Stromberg strombrg at dcs.nac.uci.edu
Mon Jan 3 20:22:55 CET 2005


Perhaps the "ssh -n" option would work around this on a sun?  100%
speculation though.

On Wed, 2004-12-29 at 09:54 +0100, BOLLENGIER Eric wrote:
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050103/dd8ebce8/attachment.sig>


More information about the Users mailing list