View previous topic :: View next topic |
Author |
Message |
tongyan
Joined: 04 Apr 2005 Posts: 6
|
Posted: Mon Apr 04, 2005 11:59 pm Post subject: wish for send data to port |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Apr 05, 2005 6:50 pm Post subject: |
|
|
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 |
|
|
tongyan
Joined: 04 Apr 2005 Posts: 6
|
Posted: Wed Apr 13, 2005 8:41 pm Post subject: but |
|
|
but how to send date/time to http port? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Thu Apr 14, 2005 1:24 pm Post subject: |
|
|
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 |
|
|
Niklas
Joined: 30 Dec 2005 Posts: 4
|
Posted: Fri Dec 30, 2005 11:44 am Post subject: |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Fri Dec 30, 2005 2:33 pm Post subject: |
|
|
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 |
|
|
Niklas
Joined: 30 Dec 2005 Posts: 4
|
Posted: Fri Dec 30, 2005 4:22 pm Post subject: |
|
|
I see
So Hostman can't translate empty spaces to "%20" or "+"? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jan 02, 2006 11:30 pm Post subject: |
|
|
No. Not yet.
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
|
Back to top |
|
|
|