<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.34">
<TITLE>Check_tcp</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I'm trying to configure a new service with check_tcp plugin on services.cfg file. There is a definition for ping monitoring like this and it is working good:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">define service{</FONT>
<BR> <FONT SIZE=2 FACE="Arial">use generic-service ; Name of service template to use</FONT>
</P>
<P> <FONT SIZE=2 FACE="Arial">host_name SLT_CRC</FONT>
<BR> <FONT SIZE=2 FACE="Arial">service_description PING</FONT>
<BR> <FONT SIZE=2 FACE="Arial">is_volatile 0</FONT>
<BR> <FONT SIZE=2 FACE="Arial">check_period 24x7</FONT>
<BR> <FONT SIZE=2 FACE="Arial">max_check_attempts 3</FONT>
<BR> <FONT SIZE=2 FACE="Arial">normal_check_interval 5</FONT>
<BR> <FONT SIZE=2 FACE="Arial">retry_check_interval 1</FONT>
<BR> <FONT SIZE=2 FACE="Arial">contact_groups server-admins</FONT>
<BR> <FONT SIZE=2 FACE="Arial">notification_interval 240</FONT>
<BR> <FONT SIZE=2 FACE="Arial">notification_period 24x7</FONT>
<BR> <FONT SIZE=2 FACE="Arial">notification_options c,r</FONT>
<BR> <FONT SIZE=2 FACE="Arial">check_command check_ping!900.0,20%!1500.0,60%</FONT>
<BR> <FONT SIZE=2 FACE="Arial">} </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I want to monitor port 5000 that is for Sybase Sql Service for the same server, but to be honest I don't have any idea how to do this with check_tcp. I was trying some parameters like:</FONT></P>
<P> <FONT SIZE=2 FACE="Arial">check_command check_tcp -p 5000 </FONT>
<BR><FONT SIZE=2 FACE="Arial">but there is an error that advices that the parameter is bad and if I leave just:</FONT>
<BR> <FONT SIZE=2 FACE="Arial">check_command check_tcp</FONT>
<BR><FONT SIZE=2 FACE="Arial">there is another advice that the service is null.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Can you help me? I'm very dummie with this.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Thanks.</FONT>
</P>
<BR>
<BR>
<P><B><FONT COLOR="#808080" SIZE=2 FACE="Arial">Luis Diego González Briones.</FONT></B><FONT COLOR="#808080" SIZE=2 FACE="Times New Roman"><BR>
</FONT><B></B><B><FONT COLOR="#808080" SIZE=2 FACE="Arial">Telecommunications Technical Support.</FONT></B><FONT COLOR="#808080" SIZE=2 FACE="Times New Roman"><BR>
</FONT><B></B><B><FONT COLOR="#808080" SIZE=2 FACE="Arial">EDS-Prosix</FONT></B><FONT COLOR="#808080" SIZE=2 FACE="Times New Roman"><BR>
</FONT><FONT COLOR="#808080" SIZE=2 FACE="Arial">Phone (506) 209-0800.</FONT><FONT COLOR="#808080" SIZE=2 FACE="Times New Roman"><BR>
</FONT><FONT COLOR="#808080" SIZE=2 FACE="Arial">Fax No. (506) 209-0817</FONT><FONT FACE="Times New Roman"><BR>
<U></U></FONT><U><B></B></U><U><B><FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial">AVISO DE CONFIDENCIALIDAD:</FONT></B></U><B></B><FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial"> La información de este documento y sus anexos es confidencial. Está dirigida únicamente para el uso por parte del destinatario que se indica. Dado que las comunicaciones por Internet no son seguras, EDS Prosix no acepta responsabilidad legal por el contenido de este mensaje. Si usted no es el destinatario de este documento, por favor notifique a EDS Prosix de inmediato y luego borre el documento. Se advierte que está prohibido revelar el contenido de este documento a cualquier otra persona, ni copiarlo. La violación al mandato de este aviso puede dar lugar a responsabilidades legales.</FONT></P>
<P><U><B><FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial">CONFIDENTIALITY NOTICE:</FONT></B></U><B></B><FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial"> The information in this document and attachments is confidential. It is intended only for the use of the named recipient. Internet commmunications are not secure and therefore the EDS Prosix does not accept legal responsibility for the contents of this message. If you are not the intended recipient, please notify to EDS Prosix immediately and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful.</FONT><U></U><U><B> <FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial"><<</FONT></B></U><B></B><A HREF="http://www.eds.com/"><B><U></U><U><FONT COLOR="#0000FF" SIZE=1 FACE="Arial">http://www.eds.com/</FONT></U></B></A><B></B><U><B><FONT COLOR="#C0C0C0" SIZE=1 FACE="Arial">>></FONT></B></U><B></B></P>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>