non standard HTTP check
Postby adsquared » Mon Jun 28, 2010 9:13 pm
Hello,
I could use some advice on monitoring a non-standard HTTP web service. The server listens on port 80 as usual and accepts a regular GET request. However, the only response is something like text/plain Code::##::#. There is no HTTP error code, content length, etc. I can test the connection manually using Telnet but I want to automate the test.
These are the responses I receive. Is there another parameter I can use? Thx.
/check_http -H -p 80 -s ‘GET /?v=12&j=12&b=nm40&h=333333333333333333333333cn=000004560000000 HTTP/1.1’
HTTP CRITICAL - No data received from host
/check_http -H -p 80 -u ‘GET /?v=12&j=12&b=nm40&h=333333333333333333333333cn=000004560000000 HTTP/1.1’
CRITICAL - Socket timeout after 10 seconds
[Working]
telnet IP 80
Trying IP…
Connected to IP.
Escape character is ‘^]’.
GET /?v=12&j=12&b=nm40&h=333333333333333333333333cn=000004560000000 HTTP/1.1
text/plain
Code::##::#