Forum Discussion
Jim_Couch_16225
Nimbostratus
Feb 13, 2015iRule - Down node using Response Header
My dev team and I would like to create an iRule that would look at a value in the response header in order to mark a node (in a pool) up or down. They'll use this for maintenance. Basically they'l ...
cdougall_14195
Cirrus
Feb 13, 2015Have you considered doing this in an HTTP monitor?
ltm monitor http HTTP-Down_on_responce_header {
defaults-from http
destination *:http
interval 5
ip-dscp 0
recv "x-node: up"
recv-disable "x-node: down"
send "GET /\r\n"
time-until-up 0
timeout 16
}
Jim_Couch_16225
Nimbostratus
Feb 13, 2015I first tried that, but it doesnt seem to work. My "get" is in a different path. Wondering if that is why its failing. On my get string I have "/logging/loggingservice.asmx \r\n"
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