Hello,
Is there some way to have HostMonitor retrieve the actual response to a FTP test or URL Request test, please?
At the moment the replies I get from some FTP tests is "No Answer". When we drilled down using a packet sniffer we found that we were getting two types of error:
421 Too many users
530 User <username> cannot log in. Login failed
But HostMonitor was not providing us with this kind of information.
I am checking https site with URL Request and it is strange that sometimes the test is passing and sometimes not, when the site is always available. Once again the only Reply displayed in HostMonitor is "No Answer"". Is there some way to have more detail than this, please?
FTP and URL responses to test - does HostMonitor provide?
-
- Posts: 34
- Joined: Mon Apr 28, 2008 10:15 am
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
To retrieve detailed information, you may use %HttpCode% or %HttpHeader% macro variables. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
===============================
the following variables have sense for "URL" and "HTTP" tests only, for other tests these macros return an empty string
%HostURL% - Represents URL used for the test
%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)
%HttpHeader% - Complete HTTP header received from the server
%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).
===============================
Regards,
Max
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
===============================
the following variables have sense for "URL" and "HTTP" tests only, for other tests these macros return an empty string
%HostURL% - Represents URL used for the test
%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)
%HttpHeader% - Complete HTTP header received from the server
%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).
===============================
Regards,
Max
Do you mean HTTP codes? These codes were implemented 20 years ago
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Regards
Alex
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Regards
Alex
It is FTP result codes that I'm interested in being able to view.
For instance I have an FTP account that is limited to only allowing one connection and it would be useful to know if the test failed because the user is already logged on or if the host was unavailable.
In this instance the FTP server returns the response 550:Password not allowed.
For instance I have an FTP account that is limited to only allowing one connection and it would be useful to know if the test failed because the user is already logged on or if the host was unavailable.
In this instance the FTP server returns the response 550:Password not allowed.
What exactly is your question?
Do you want to find list of FTP codes? Its really easy if you have access to Internet, just google it.
E.g.
http://en.wikipedia.org/wiki/List_of_FT ... turn_codes
http://tools.ietf.org/html/rfc959
Regards
Alex
Do you want to find list of FTP codes? Its really easy if you have access to Internet, just google it.
E.g.
http://en.wikipedia.org/wiki/List_of_FT ... turn_codes
http://tools.ietf.org/html/rfc959
Regards
Alex