check_ssh: change warning to critical for protocal/version errors (#1268)

Sven Nierlein notifications at github.com
Mon Jun 30 14:57:55 CEST 2014


It makes more sense to exit critical if a explicit version/protocol is
requested. This
would also be more consistent with other plugins. Other string matching
plugins like
check_snmp or check_http exit critical if the result does not match.

Signed-off-by: Sven Nierlein <sven at nierlein.de>
You can merge this Pull Request by running:

  git pull https://github.com/sni/monitoring-plugins check_ssh_critical

Or you can view, comment on it, or merge it online at:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1268

-- Commit Summary --

  * check_ssh: change warning to critical for protocal/version errors

-- File Changes --

    M plugins/check_ssh.c (12)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1268.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1268.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1268
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140630/e7984d64/attachment.html>


More information about the Devel mailing list