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

How to load web page as a dead action?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
uneeeq



Joined: 14 Feb 2003
Posts: 5

PostPosted: Sat Feb 15, 2003 1:35 am    Post subject: Reply with quote

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


if I enter
http://update.mywebcontrolpanel.com/update.php?Command=SetHost&HostName=WWW&Zone=mydomain.com&Address=11.222.11.111&DomainPassword=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/update.php?Command=SetHost&HostName=WWW&Zone=mydomain.com&Address=11.222.11.111&DomainPassword=password

Wait for answer: 0

but this did not work, I have also tried POST or simply
Init packet: http://update.mywebcontrolpanel.com/update.php?Command=SetHost&HostName=WWW&Zone=mydomain.com&Address=11.222.11.111&DomainPassword=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/update.php?Command=SetHost&HostName=WWW&Zone=mydomain.com&Address=11.222.11.111&DomainPassword=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

[ This Message was edited by: uneeeq on 2003-02-15 14:45 ]
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat Feb 15, 2003 6:42 pm    Post subject: Reply with quote

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



Joined: 14 Feb 2003
Posts: 5

PostPosted: Sun Feb 16, 2003 12:28 am    Post subject: Reply with quote

Thank you Alex,
it worked perfect!

Genie
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor 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