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

Debug HTTL url test

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



Joined: 26 Sep 2016
Posts: 1

PostPosted: Mon Sep 26, 2016 2:46 am    Post subject: Debug HTTL url test Reply with quote

Dear i have an url test that return "bad" the url is accessible via the browser.
How can i do to have more infos about the problem.
Nothing in the log file more that Bad test result.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Sep 26, 2016 9:56 am    Post subject: Reply with quote

You may use %HttpCode%, %HttpHeader%, %HttpPage% variables (e.g. you may use Send Email action assigned to the test and template with these variables)
http://ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro

%HttpCode%
HTTP status code received from the server. Also this variable may return winsock error codes in case web server is not accessible (e.g. you have specified incorrect server name)

%HttpPage%
Represents contents of the monitored web page (first 32768 (32K) characters of the web page if test was performed by HostMonitor; first 2048 (2K) characters of the page if test was performed by RMA).
Variable may be empty if you setup URL test item to check HTTP response only, without checking content or CRC of the page. HTTP test returns an empty string if a HEADER request is used. It also returns an empty string when a monitored web server does not respond.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
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