Forum Discussion
cvrnr_18603
Nimbostratus
Oct 02, 2007Monitoring website with different header packets
We have created a pool with 2 web server serving with three different headers
webserver header header header
1st x y ...
hoolio
Cirrostratus
Nov 07, 2007Hello,
It sounds like you have three virtual hosts running on the same IP and port, using host headers to differentiate which web application the request is for.
You can configure one monitor per HTTP host header that you want to check. If you configure the send string with the Host header, you can differentiate in the monitor between the three virtual hosts:
GET /path/to/file.ext HTTP/1.1\r\nHost: virtualhost1.example.com\r\nConnection: close\r\n\r\n
The Host header sent in this example is virtualhost1.example.com.
The receive string could be 200 or OK or HTTP depending on what headers/data your servers respond with.
For more info, you can check the reference guide on AskF5 for your version (). SOL3224 has some additional info as well ().
If this isn't what you're looking for, please explain further. I'm still a bit unclear about whether you want the other two virtual hosts to be left up if only virtualhost1 is marked down by a monitor.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
