How to load web page as a dead action?

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
uneeeq
Posts: 5
Joined: Fri Feb 14, 2003 6:00 pm

Post by uneeeq »

I am a complete newbie to HostMonitor and need some help.


if I enter
http://update.mywebcontrolpanel.com/upd ... d=password
into my browser our domain record is updated with a new IP address

I have tried to set Action Send data to TCP/UDP port with the following:

Server: update.mywebcontrolpanel.com
Port: 80
Protocol: TCP
Init packet: GET http://update.mywebcontrolpanel.com/upd ... d=password

Wait for answer: 0

but this did not work, I have also tried POST or simply
Init packet: http://update.mywebcontrolpanel.com/upd ... d=password


this was set as an action on bad status and did not work

what am I doing wrong?

Thanks in advance for any hints!

=== EDITED by Genie ===

I think I am getting to the bottom of this - I installed the AHM on a client machine on our home network (Winproxy) and it appears that classic http protocol works fine from a Winproxy Client Machine but TCP does not, my AHM sys log produces the following error : Error: Cannot send data to update.mywebcontrolpanel.com (TCP port 80). Host not found
But if the same
http://update.mywebcontrolpanel.com/upd ... d=password

loaded into my web browser, works flawlessly and updates the IP addy in the record

Genie
PS - I have changed the actual values so the above references are for illustration only

<font size=-1>[ This Message was edited by: uneeeq on 2003-02-15 14:45 ]</font>
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Your network connected to the Internet thru proxy server? Of course HostMonitor cannot connect to the web server directly. When you configure action, specify address/port of the proxy server.
Also you may need to add " HTTP/1.0%0A%0A" to the request:
Server: address of your proxy server
Port: port used by proxy server
Protocol: TCP
Packet to send: GET http://your_webserver/update.php?your_parameters HTTP/1.0%0A%0A

Regards
Alex
uneeeq
Posts: 5
Joined: Fri Feb 14, 2003 6:00 pm

Post by uneeeq »

Thank you Alex,
it worked perfect!

Genie
Locked