[Pkg-nagios-devel] Bug#495681: nagios-plugins-basic: check_by_ssh returns "unknown" instead of "critical" when remote host is "down"
Cyril Bouthors
cyb at debian.org
Tue Aug 19 16:28:53 UTC 2008
Package: nagios-plugins-basic
Severity: important
check_by_ssh returns STATE_UNKNOWN when remote host is "down". It
makes Nagios think the host is not completely down.
check_by_ssh must return STATE_CRITICAL when ssh fails.
The bug can be reproduced like this:
supervision:# /usr/lib/nagios/plugins/check_by_ssh -H 192.168.35.243
date; echo $?
Remote command execution failed: ssh: connect to host 192.168.35.243
port 22: No route to host
3
supervision:#
I reported a very similar bug which was fixed, please have a look at #257793
Regards
--
,''`.
: :' : Cyril Bouthors
`. `' Debian.org
`-
More information about the Pkg-nagios-devel
mailing list