Forum Discussion
mlick2
Nimbostratus
Mar 17, 2006Downtime redirect
I am trying to figure out the best way to redirect an application when it is determined to be down. This unfortunately has to be a manual process in determining if the app is down or not. What we wo...
JRahm
Admin
Mar 17, 2006Ok, sorry, misunderstood. Is the middleman a webserver? If so, you can use a reverse http monitor that is UP while the condition is NOT met. Configure the action on service down to reselect and you should be fine.
monitor my_http {
defaults from http
reverse
recv "APPLICATION IS DOWN!"
send "GET /yourpath/yourfile.txt"
}
Note that the send is the file that is there only when the app is down, and the recv is a string in the file that can be matched appropriately.
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