KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

HTTP Test and %httpcode%

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
mos-eisley



Joined: 21 Mar 2007
Posts: 76
Location: Klarup (AAlborg), Demark

PostPosted: Mon Jan 12, 2009 4:35 am    Post subject: HTTP Test and %httpcode% Reply with quote

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?
Back to top
View user's profile Send private message MSN Messenger
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Jan 12, 2009 6:26 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mos-eisley



Joined: 21 Mar 2007
Posts: 76
Location: Klarup (AAlborg), Demark

PostPosted: Mon Jan 12, 2009 6:32 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message MSN Messenger
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Jan 12, 2009 12:10 pm    Post subject: Reply with quote

As usually 1st question is - what version of HostMonitor do you use?
Also, may we use the same URL for testing?

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
mos-eisley



Joined: 21 Mar 2007
Posts: 76
Location: Klarup (AAlborg), Demark

PostPosted: Tue Jan 13, 2009 2:22 am    Post subject: Reply with quote

I am currently running version 7.22c

No, The URL is strictly internal..
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index