monitoring http 8888 port

Max perldork at webwizarddesign.com
Sun Jan 6 22:49:27 CET 2008


Hi John,

Usage: check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
       [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
       [-s string] [-l] [-r <regex> | -R <case-insensitive regex>] [-P string]
       [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>] [-A string]
       [-k string] [-S] [-C <age>] [-T <content-type>]

You are just missing

-p 8888

from your command definition :)

- Max

On Jan 6, 2008 4:43 PM, John <audit01 at charter.net> wrote:
> 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.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list