View previous topic :: View next topic |
Author |
Message |
ironcurtain
Joined: 28 Apr 2008 Posts: 34
|
Posted: Fri Oct 10, 2008 3:00 am Post subject: FTP and URL responses to test - does HostMonitor provide? |
|
|
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? |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Fri Oct 10, 2008 8:15 am Post subject: |
|
|
To retrieve detailed information, you may use %HttpCode% or %HttpHeader% macro variables. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Oct 10, 2008 10:56 am Post subject: |
|
|
%HttpCode%,%HttpHeader% should help to find reason of the problem related to HTTPS server.
While this will not help for FTP test... We will improve HostMonitor's code so these variables will work for FTP servers as well (or may be we can add some new variables).
Regards
Alex |
|
Back to top |
|
|
lollbackj
Joined: 20 Jul 2011 Posts: 8
|
Posted: Sat Jul 23, 2011 7:31 pm Post subject: |
|
|
I'm curious to know if addtional codes were implemented, I also have a use for this functionality. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
lollbackj
Joined: 20 Jul 2011 Posts: 8
|
Posted: Sun Jul 31, 2011 9:04 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
|