Open Html Site by alarm

Need new test, action, option? Post request here.
Post Reply
thomas z.
Posts: 3
Joined: Wed Feb 20, 2008 9:59 am

Open Html Site by alarm

Post by thomas z. »

Is it possible when Host Monitor has protectet a alarm, that host monitor open a html link.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

If you just should open browser window (e.g. IE) on the machine, where HostMonitor is running, you may use "Execute External program" action, with the following command line: "C:\Program Files\Internet Explorer\iexplore.exe" C:\test.html
Instead of C:\test.html you should specify required URL.
http://www.ks-soft.net/hostmon.eng/mfra ... htm#actPrg

If you need to send some data to the Web Server, you may use "HTTP request" action.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#actHTTP

Regards,
Max
thomas z.
Posts: 3
Joined: Wed Feb 20, 2008 9:59 am

Post by thomas z. »

i want to open a link with variables but with the HTTP request is doesnt work. :(
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

"HTTP request" action request does not open a link, it sends HTTP request to the Web Server directly. So, you will not see the browser's window.
"HTTP request" action has supported macro variables in "Request" field for ages. Macro variables in "Host" field have been supported since version 7.08
So, if you use an earlier version and want to use variables in "Host" field, we recommend you to upgrade to the latest version.
http://www.ks-soft.net/hostmon.eng/news.htm

Regards,
Max
thomas z.
Posts: 3
Joined: Wed Feb 20, 2008 9:59 am

Post by thomas z. »

you doesnt understand what i mean.

:D

i want to have an sms when host monitor has protected an alarm. we use an provider for this. we can send sms mit a link like: www.mobilant.com/key12345&nummber=1234566&text=smstext


so and i want to use the host monitor variables vor the "smstext".

so host monitor must only open this link. can i do this with host monitor?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

As Max said you may use "HTTP request" action.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#actHTTP

Regards,
Alex
Post Reply