<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Hi Richard,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>You just need to specify the port number as a parameter
to your Plugin.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Heres what it says about check_ssh</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007> ./check_ssh --help<BR>check_ssh (nagios-plugins
1.4.3) 1.27<BR>Copyright (c) 1999 Remi Paulmier <<A
href="mailto:remi@sinfomic.fr">remi@sinfomic.fr</A>><BR>Copyright (c)
2000-2004 Nagios Plugin Development
Team<BR> <<A
href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</A>></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Try to connect to an SSH server at specified server and
port</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Usage: check_ssh [-46] [-t <timeout>] [-r
<remote version>] [-p <port>] <host></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Options:<BR> -h, --help<BR>
Print detailed help screen<BR> -V, --version<BR> Print
version information<BR> -H, --hostname=ADDRESS<BR> Host
name, IP Address, or unix socket (must be an absolute path)<BR> -p,
--port=INTEGER<BR> Port number (default: 22)<BR> -4,
--use-ipv4<BR> Use IPv4 connection<BR> -6,
--use-ipv6<BR> Use IPv6 connection<BR> -t,
--timeout=INTEGER<BR> Seconds before connection times out
(default: 10)<BR> -r, --remote-version=STRING<BR> Warn if
string doesn't match expected server version (ex: OpenSSH_3.9p1)<BR> -v,
--verbose<BR> Show details for command-line debugging (Nagios
may truncate output)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Send email to <A
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
if you have questions<BR>regarding use of this software. To submit patches or
suggest improvements,<BR>send email to <A
href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</A><BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Regards</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=768451212-02082007>Tom</DIV></SPAN></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
nagiosplug-help-bounces@lists.sourceforge.net
[mailto:nagiosplug-help-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Richard Williams<BR><B>Sent:</B> 02 August 2007 12:41<BR><B>To:</B>
nagiosplug-help@lists.sourceforge.net<BR><B>Subject:</B> [Nagiosplug-help]
Changing Default Port Settings<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt">Hello</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt">For security reasons, I’ve changed some of the port
settings from their standard values – for example SSH is not on port 22.
What do I have to do to get Nagios to monitor services using my port values
instead of the standard ones?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt">Regards</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt">Richard Williams</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial color=navy size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt; COLOR: navy">****************************************************<BR></SPAN></FONT><FONT
color=navy><SPAN lang=EN-GB style="COLOR: navy">Richard
Williams</SPAN></FONT><FONT color=navy><SPAN lang=EN-GB
style="COLOR: navy"><BR>email:</SPAN><SPAN lang=EN-GB> <A
href="mailto:richard@everything4it.co.uk">richard@everything4it.co.uk</A></SPAN></FONT><FONT
color=navy><SPAN lang=EN-GB style="COLOR: navy"> </SPAN><SPAN
lang=EN-GB><BR></SPAN></FONT><FONT color=navy><SPAN lang=EN-GB
style="COLOR: navy">mobile: 07981
734697<BR>**************************************************** </SPAN><SPAN
lang=EN-GB><BR></SPAN></FONT><FONT color=black size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black">The contents of this email message and any
attachments are confidential and are intended solely for addressee. The
</SPAN></FONT><FONT color=black size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black">info</SPAN></FONT><FONT color=black
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">rmation may also
be legally privileged. This transmission is sent in trust, for the sole purpose
of delivery to the intended recipient. If you have received this transmission in
error, any use, reproduction or dissemination of this transmission is strictly
prohibited. If you are not the intended recipient, please immediately notify the
sender by reply email or at +44(0)7981 734697 and delete this message and its
attachments, if any</SPAN></FONT><FONT color=black size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black">.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV><BR>
<P><FONT size=2>No virus found in this outgoing message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date:
01/08/2007 16:53<BR></FONT></P></BODY></HTML>