FTP and URL responses to test - does HostMonitor provide?

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
ironcurtain
Posts: 34
Joined: Mon Apr 28, 2008 10:15 am

FTP and URL responses to test - does HostMonitor provide?

Post by ironcurtain »

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

Post by KS-Soft Europe »

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

Post by KS-Soft »

%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
lollbackj
Posts: 8
Joined: Wed Jul 20, 2011 8:11 pm

Post by lollbackj »

I'm curious to know if addtional codes were implemented, I also have a use for this functionality.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
lollbackj
Posts: 8
Joined: Wed Jul 20, 2011 8:11 pm

Post by lollbackj »

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

Post by KS-Soft »

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
Post Reply