<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RES: Monitoring a specific TPC Port</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT size=2>Gustavo </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2>I would have thought the
check_tcp plugin would do what you want ?</FONT></SPAN></DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2>e.g</FONT></SPAN></DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2>check_tcp -H HOST -p
4167</FONT></SPAN></DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2>If port is connectable then all
is OK returned</FONT></SPAN></DIV>
<DIV><SPAN class=723055715-27082003><FONT size=2>If port is not connectable then
CRITICAL State returned</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=723055715-27082003><FONT face=Arial color=#0000ff
size=2>Matt</FONT></SPAN></DIV>
<P><FONT face=Arial size=2>Matthew Garrett</FONT> <BR><FONT face=Arial
size=2>Unix System Support</FONT> <BR><FONT face=Arial size=2>Shell Information
Technology International Limited</FONT> <BR><FONT face=Arial size=2>Seafield
House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom</FONT> </P>
<P><B><FONT face=Arial size=2>Tel:</FONT></B> <FONT face=Arial size=2>+44
(0)1224 81 8373</FONT> <B><FONT face=Arial size=2>Other Tel: </FONT></B>Internal
630 8373</FONT> <BR><B><FONT face=Arial size=2>Email:</FONT></B> <FONT
face=Arial size=2>Matt.M.Garrett@is.shell.com</FONT> <BR><B><FONT face=Arial
size=2>Internet:</FONT></B> <FONT face=Arial size=2><A
href="http://www.shell.com/" target=_blank>http://www.shell.com</A></FONT> </P>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Gustavo Gaiote
[mailto:GGaiote@visanet.com.br]<BR><B>Sent:</B> 27 August 2003
16:30<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] RES: Monitoring a specific TPC Port<BR><BR></FONT></DIV><BR>
<P><FONT size=2>Ok... </FONT><BR><FONT size=2>I have other question.
</FONT><BR><FONT size=2>We have an application that uses a specific TCP port
in a remote host. This is a problem for us when the application loses this
connection with TCP port. So, when the TCP port is listen this is must be
indicate like a bad situation (Critical) on Nagios, and when the TCP port is
establish a connection, this is must be indicate like a good situation (OK -
green).</FONT></P>
<P><FONT size=2>This configuration is possible on Nagios??? If it´s possible,
how can I do???</FONT> </P><BR>
<P><FONT size=2>Regards,</FONT> </P><BR>
<P><FONT size=2>Gustavo Gaiote</FONT> </P><BR>
<P><FONT size=2> </FONT></P>
<P><FONT size=2>-----Mensagem original-----</FONT> <BR><FONT size=2>De:
Gustavo Gaiote </FONT><BR><FONT size=2>Enviada em: terça-feira, 26 de agosto
de 2003 11:42</FONT> <BR><FONT size=2>Para:
'nagios-users@lists.sourceforge.net'</FONT> <BR><FONT size=2>Assunto:
Monitoring a specific TPC Port</FONT> </P><BR>
<P> <FONT size=2>Hello,</FONT> </P>
<P> <FONT size=2>How can I configure
my Nagios to monitoring a specific TCP port?</FONT>
<BR> <FONT size=2>Here, we have a
specific equipment that I need to check the TCP port 4167, if is available or
not available. </FONT><BR> <FONT
size=2>I believe that is a service configuration... Ok?</FONT> </P>
<P> <FONT size=2>Regards,</FONT>
</P>
<P> <FONT size=2>Gustavo
Gaiote</FONT> </P></BLOCKQUOTE></BODY></HTML>