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
  `-




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to