<br>I have implimented this almost 3 years ago. Enclosed is the patch. It is for older version of check_ssh though.<br><br><div class="gmail_quote">On Sat, Nov 7, 2009 at 4:56 AM, Ingo Kley <span dir="ltr"><<a href="mailto:ingo.kley@web.de">ingo.kley@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hallo,<br>
<br>
we are using the nagios plugin check_ssh (2007-11-09 13:08:43Z).<br>
<br>
Because ssh protocol 1 insn't secure, it would be nice, if the check would<br>
reply Critical if only protocol 1 is used.<br>
<br>
This may be the default or by an option like (-p 2)<br>
where "2" is the smallest version of the expected protocol.<br>
<br>
Kind regards<br>
Ingo<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
_______________________________________________________<br>
Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>