problem with check_http_site

nagios at mm.quex.org nagios at mm.quex.org
Tue Oct 19 14:22:05 CEST 2004


On Tue, Oct 19, 2004 at 02:12:55PM +0200, joost at informatiefabriek.nl wrote:
> define command{
>         command_name    check_http_site
>         command_line    $USER1$/check_http -H $ARG1$
> }
> 
> the command 
> check_http_site!"gathering.tweakers.net/forum/list_messages/967646" gives 
> as result: Name or service not known
> The adress is working (up).

The -H parameter sets the hostname to check, not a URL.

Look at the output of check_http -h to see the correct parameters;
you'll need to specify the page to get (i.e. /forum/list_messages...)
and you can specify an extra parameter to provide the hostname to
send in the Host: header if the site needs it (named-based virtual
hosts).


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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