How to check all hosts of a load-balanced website?

Using the URL check of Servers Alive you will be able to check the given URL but
you can't control which webserver you're actualy checking.

Let's asume you want to check http://www.mydomain.com/index.php
And that it's load balanced between 3 servers being 1.2.3.4, 1.2.3.5 and
1.2.3.6.

>From within the main interface of Servers Alive open the Protocol Builder
(CTRL-P).
Creat a new TCP protocol called "my website".

As default port enter 80.
As "packet to send on connect" enter
        GET http://www.mydomain.com/index.php
HTTP/1.0\x0D\x0AHost:www.mydomain.com\x0D\x0A\x0D\x0A
As "packet to receive as response" enter
        HTTP/1.0 200 OK
and check the CONTAINS option.
(in some cases you will have to use HTTP/1.1 instead of HTTP/1.0)


Now in Servers Alive create new entries with as HOSTNAME:
1.2.3.4 (and another with 1.2.3.5 and 1.2.3.6)
As checktype select TPC PROTOCOL and select the "my website" from the  protocol
combo.

Now you have 3 entries that will check the website from your 3 load-balanced
servers.




Dirk Bulinckx. 
Network Monitoring by Servers Alive - http://www.woodstone.nu
DNS Hosting with ipv4 and ipv6 on http://www.stellardns.com

To unsubscribe send a message with UNSUBSCRIBE in the subject line to 
[email protected]
If you use auto-responders (like out-of-the-office messages), make sure that 
they are not sent to the list nor to individual members.  Doing so will cause 
you to be automatically removed from the list.

Reply via email to