[Pkg-nagios-devel] Bug#495681: Bug#495681: Bug#495681: nagios-plugins-basic: check_by_ssh returns "unknown" instead of "critical" when remote host is "down"

sean finney seanius at debian.org
Wed Aug 20 17:22:44 UTC 2008


On Tuesday 19 August 2008 10:12:44 pm Jan Wagner wrote:
> On Tuesday 19 August 2008 18:28, Cyril Bouthors wrote:
> > 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.

actually, i don't think that is supposed to be the case.  since it's a service 
being checked *via* ssh, the state of the service can not be known, therefore 
it is "unknown".  a proper nagios config should have some kind of host check 
(and/or service dependencies on check_by_ssh <-> check_ssh)  that detects 
when the host is down, which will return critical and disable the checks of 
the service in question.

at least, this is from my memory of the last time i saw this come up on the 
upstream ml.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20080820/8a005988/attachment-0001.pgp 

More information about the Pkg-nagios-devel mailing list