check_http woes

David Levine dlevine at seasontickets.com
Thu Oct 31 05:22:43 CET 2002


>From what I understand, the '-u' argument should only be a relative
path...like:
./check_http -H host.vhost.com -s TRUE -u /blah/page.cfm

hth -

Dave


-----Original Message-----
From: J.Engstrom
To: nagios-users at lists.sourceforge.net
Sent: 10/30/2002 6:52 PM
Subject: [Nagios-users] check_http woes

Greetings,

     Need a bit of help... I can execute the following from a command
line...

./check_http -H host.vhost.com -s TRUE -u
http://host.vhost.com/blah/page.cfm

...however the following checkcommand.cfg and services.cfg entries
return the message "Socket timeout after 10 seconds"....

checkcommands.cfg
#################################################
# 'check_http_content' command definition
define command{
        command_name    check_http_content
        command_line    /usr/local/nagios/libexec/check_http -H
$HOSTADDRESS$ -s $ARG1$ -u $ARG2$
        }
#################################################



services.cfg
#################################################
define service{
        use                             generic-service

        host_name                       host.vhost.com
        service_description             blah
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           2
        retry_check_interval            1
        contact_groups                  fms-admins
        notification_interval           120
        notification_period             none
        notification_options            c,r
        check_command
check_http_content!TRUE!http://host.vhost.com/blah/page.cfm
        }

#################################################


Any ideas?

Thanks,
Jeff


_____________________________________________________________
Sign up for FREE email from Everyone.net email at
http://www.everyone.net


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en




More information about the Users mailing list