Forum Discussion
JamesR
May 06, 2020Nimbostratus
HTTP monitor which ignores timeouts
Hi all, Might be approaching this in the wrong way but I want a way for the application owners to trigger a pool failure by placing a text file on a web server. This is so they are in control w...
JamesR
Nimbostratus
Hi , thanks for the reply.
I was hoping to have this centralised that we have a single monitor that is used for holding the service down rather than doing it node-by-node. In the solution we have an 'admin' server that I was hoping to use for this but I'd only want the monitor to be marked as down if the HTTP request returned a 200 and not if it timed out or other things occurred.
I was working on something like this;
ltm monitor http /Common/ServiceMonitor {
defaults-from /Common/http
description ServiceMonitor
destination admin.node.ip:80
send "GET /srvdown.txt HTTP/1.1\r\nHost: bigip.health.check\r\nConnection: Close\r\n\r\n"
recv "HTTP/1.1 200"
interval 30
timeout 60
reverse enabled
}
Doesn't look like this is possible though - is that your understanding too?
Cheers
Samir
May 06, 2020MVP
I believe it should work. Did you try?
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