Forum Discussion
rjonker
Nimbostratus
Nov 19, 2009Need help. HTTP monitor based on hostname
Hi,
When I create a basic HTTP monitor and use a hostname the result is that the actual ip address of the host is used in the monitor. A one time nslookup is done.
If the ip address of the host changes, the health monitor will fail.
Is there a way to use the hostename only all the time, by doing an nslookup every time?
I expect it can be done by an external script, but I was not able to find an example on DevCentral.
Please help!:D
- hoolio
Cirrostratus
Does the web server have virtual host or host header definitions that require a specific hostname be inserted in all requests? I wasn't aware that any name resolution would be done for a monitor send string. I would have guessed that the static string would be sent in the monitor request. Can you clarify what you've tested and which version you've tested on? - rjonker
Nimbostratus
I use this a health monitor to check the status of the ISP link on a Link Controller. I want to check that some internet web pages are reachable by just doing a "GET /". - hoolio
Cirrostratus
I think you might need to use an external monitor. It would be a fairly simple one to implement using curl as long as you have DNS resolution configured. curl accepts a hostname and will perform name resolution before sending the request.
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