HTTP Test and %httpcode%

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
mos-eisley
Posts: 76
Joined: Wed Mar 21, 2007 5:51 am
Location: Klarup (AAlborg), Demark

HTTP Test and %httpcode%

Post by mos-eisley »

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?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
mos-eisley
Posts: 76
Joined: Wed Mar 21, 2007 5:51 am
Location: Klarup (AAlborg), Demark

Post by mos-eisley »

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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

As usually 1st question is - what version of HostMonitor do you use?
Also, may we use the same URL for testing?
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?
"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"

Regards
Alex
mos-eisley
Posts: 76
Joined: Wed Mar 21, 2007 5:51 am
Location: Klarup (AAlborg), Demark

Post by mos-eisley »

I am currently running version 7.22c

No, The URL is strictly internal..
Post Reply