FW: Help with check_http

Tong Young Tong at keen.com
Tue Jan 21 01:20:47 CET 2003


Nevermind. Seems I always make simple mistakes. 

All the - flags don't use the = sign, but the -- flags do.

-----Original Message-----
From: Tong Young 
Sent: Monday, January 20, 2003 4:04 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: Help with check_http

Does anyone know what the proper use of the -u flag is?  I am trying to
get the following page tested:

/horoscopes/chinesescope_result.asp?sign=Tiger&TID=74Jo8_-N

I have tried the following and many variations of it.  I have tried
using IE6.0 to check the above URL and it works.

Check_http -H stgweb01 -p 80
-u=//horoscopes/chinesescope_result.asp?sign=Tiger&TID=74Jo8_-N

I have tried with quotations around the url.  I have tried with the \
sign before special characters.

My output is always the following:

Page is 224 characters
STATUS: HTTP/1.1 400 Bad Request
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Tue, 21 Jan 2003 00:00:17 GMT
Content-Type: text/html
Content-Length: 87
**** CONTENT ****
<html><head><title>Error</title></head><body>The parameter is incorrect.
</body></html>
HTTP WARNING: HTTP/1.1 400 Bad Request

Thanks!




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en




More information about the Users mailing list