<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">check_command          check_http_port!8888

</pre>
<small>define command{<br>
    command_name          check_http_port<br>
    command_line             $USER1$/check_http -H $HOSTADDRESS$</small>
<font size="-1">-p $ARG1$</font><small><br>
}</small><br>
<br>
John wrote:
<blockquote cite="mid:000001c850ad$2b436320$6701a8c0@crypto" type="cite">
  <pre wrap="">I'm trying to monitor an internal webserver that run's on port 8888. I have
this setup in my minimal.cfg file. It's commented out because it gives me an
error that it can't connect.

#define service{
#        use                             generic-service         ; Name of
service template to use
#        host_name                       hrms
#        service_description             HTTP
#        is_volatile                     0
#        check_period                    24x7
#        max_check_attempts              4
#        normal_check_interval           2
#        retry_check_interval            1
#        contact_groups                  stg-admins
#        notification_options            c,r
#        notification_interval           960
#       notification_period             24x7
#        check_command                   check_http_8888
#        }


I also have this in my checkcommands.cfg file

# 'check_http' command definition
define command{
        command_name    check_http_8888
        command_line    $USER1$/check_http_8888 -H $HOSTADDRESS$
        }

It's right below my normal check_http lines.


Does anyone know what I'm missing here?

Thanks

John


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
  </pre>
</blockquote>
</body>
</html>