Help on check_http to check a certain URL.

Subhendu Ghosh sghosh at sghosh.org
Fri Feb 25 14:36:33 CET 2005


On Thu, 24 Feb 2005, Mukarram Syed wrote:

> Hi,
> I am trying to use Nagios plugin check_http to check a
> certain url.
>
> This works fine:
>
> # ./check_http www.yahoo.com
> HTTP ok: HTTP/1.1 200 OK -   0.213 second response
> time |time=  0.213
>
> But I am trying to check for SiteScope URL on an
> internal server.
>
> # ./check_http
> http://10.0.2.100:8888/SiteScope/htdocs/Detailestore.html
> Invalid host name
> 'http://10.0.2.100:8888/SiteScope/htdocs/Detailestore.html'
> Unable to open TCP socket
>
> and tried this...
>
> # ./check_http
> 10.0.2.100:8888/SiteScope/htdocs/Detailestore.html
> Invalid host name
> '10.0.2.100:8888/SiteScope/htdocs/Detailestore.html'
> Unable to open TCP socket
>
> I entered the hostname instead of the IP but same
> error.
>
> How else should I check this URL?
>
> Help is appreciated.
>
> Thanks
>
> -Mukarram Syed.
>


check_http -h for help on options.

you are looking for the -u option

-- 
-sg


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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