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

wish for send data to port

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
tongyan



Joined: 04 Apr 2005
Posts: 6

PostPosted: Mon Apr 04, 2005 11:59 pm    Post subject: wish for send data to port Reply with quote

when i send data to http port, if the %status% is like "no answer" -- a blank in it, it'll not work, so i wish to add a encode function in this test
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Tue Apr 05, 2005 6:50 pm    Post subject: Reply with quote

Quote:
so i wish to add a encode function in this test


This test? Probably you are talking about "Send data to TCP/UDP port" action?
Are you using this action to send test results to some CGI script? Probably its better to use %StatusID% variable instead of %Status%?
%StatusID% - a 2 digits number that represents status of the test
00- Not Tested
01- Host is Alive
02- No Answer
03- Unknown
04- Not Resolved
05- Checking
06- Resolving
07- Ok
08- Bad
09- Disabled
10- Bad Contents
11- WaitForMaster
12- OutOfSchedule

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
tongyan



Joined: 04 Apr 2005
Posts: 6

PostPosted: Wed Apr 13, 2005 8:41 pm    Post subject: but Reply with quote

but how to send date/time to http port?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Apr 14, 2005 1:24 pm    Post subject: Reply with quote

I think we can add some "Apply URL encoding rules to init/final packets" option in next version of HostMonitor

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Niklas



Joined: 30 Dec 2005
Posts: 4

PostPosted: Fri Dec 30, 2005 11:44 am    Post subject: Reply with quote

Hello Sir

I use "Send data to TCP/UDP port" for making it possible to send a SMS to my mobile.

It's a PHP script that follow the rules of html. So no spaces.
For example, I can't use the %LastTestTime% because it contains spaces.

does a "Apply URL encoding rules to init/final packets" exist in newer versions of Hostmon or is their a different sollution now days?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Fri Dec 30, 2005 2:33 pm    Post subject: Reply with quote

Sorry, this option is not implemented due to possible compatibility problem - with this option HostMonitor could translate symbols that should not be translated. Probably we will need to use different symbol (not %) for variables in this action...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Niklas



Joined: 30 Dec 2005
Posts: 4

PostPosted: Fri Dec 30, 2005 4:22 pm    Post subject: Reply with quote

I see

So Hostman can't translate empty spaces to "%20" or "+"?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Jan 02, 2006 11:30 pm    Post subject: Reply with quote

No. Not yet.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Feb 16, 2006 1:05 pm    Post subject: Reply with quote

We have implemented new test method "HTTP request" in version 5.86
www.ks-soft.net/hostmon.eng/news.htm#v586

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 -> Wish list 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