I have a straight forward HTTP test ( no content/header checking or similar) and logging to ODBC, I get these 3 results:
Status - Reply - httpcode:
"Host is alive" - "XXms" - 200
"No answer" - "Timeout" - 1006
"Bad" - "XXms" - 0
I dont get the "Bad" part and the %httpcode% for bad, what does it mean/indicate?
HTTP Test and %httpcode%
-
- Posts: 76
- Joined: Wed Mar 21, 2007 5:51 am
- Location: Klarup (AAlborg), Demark
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Do you use "HTTP" test method, right? Or "URL"? Actually, "Bad" status means HostMonitor got responce from web server but responce contained some HTTP error, but not '0', I suppose. I think, http code "0" might be set when HostMonitor aborted the request before the real reply was received from the requested web server. Could you increase timout a bit?
Do you use "Set "Bad" status when total download time is longer than NN msec"?
Regards,
Max
Do you use "Set "Bad" status when total download time is longer than NN msec"?
Regards,
Max
-
- Posts: 76
- Joined: Wed Mar 21, 2007 5:51 am
- Location: Klarup (AAlborg), Demark
I use the HTTP test yes, not URL.
I cant increase timeout as this test is for monitoring a SLA, and what would the purpose be?
Set Bad status when total ... is not checked
Treat Unknown status as bad is not checked
Treat Warning status as bad is not checked
In short, nothing is set under "Optional processing"
If 0 should be when HostMonitor aborted the request before the real reply was received from the requested web server, this should mean that initial response time + download time exceeds timeout?
I cant increase timeout as this test is for monitoring a SLA, and what would the purpose be?
Set Bad status when total ... is not checked
Treat Unknown status as bad is not checked
Treat Warning status as bad is not checked
In short, nothing is set under "Optional processing"
If 0 should be when HostMonitor aborted the request before the real reply was received from the requested web server, this should mean that initial response time + download time exceeds timeout?
As usually 1st question is - what version of HostMonitor do you use?
Also, may we use the same URL for testing?
Regards
Alex
Also, may we use the same URL for testing?
"Bad" status for HTTP test does not mean operation was not aborted, it means server returned some error. Normally %httpcode% should not be 0 when HTTP test status is "Bad"If 0 should be when HostMonitor aborted the request before the real reply was received from the requested web server, this should mean that initial response time + download time exceeds timeout?
Regards
Alex
-
- Posts: 76
- Joined: Wed Mar 21, 2007 5:51 am
- Location: Klarup (AAlborg), Demark