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

FTP and URL responses to test - does HostMonitor provide?

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



Joined: 28 Apr 2008
Posts: 34

PostPosted: Fri Oct 10, 2008 3:00 am    Post subject: FTP and URL responses to test - does HostMonitor provide? Reply with quote

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
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Fri Oct 10, 2008 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Oct 10, 2008 10:56 am    Post subject: Reply with quote

%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
View user's profile Send private message Visit poster's website
lollbackj



Joined: 20 Jul 2011
Posts: 8

PostPosted: Sat Jul 23, 2011 7:31 pm    Post subject: Reply with quote

I'm curious to know if addtional codes were implemented, I also have a use for this functionality.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Jul 25, 2011 10:24 am    Post subject: Reply with quote

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



Joined: 20 Jul 2011
Posts: 8

PostPosted: Sun Jul 31, 2011 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Aug 01, 2011 7:23 am    Post subject: Reply with quote

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_FTP_server_return_codes
http://tools.ietf.org/html/rfc959

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