Forum Discussion
Joshy_381532
Nimbostratus
Jan 21, 2019Direct traffic to maintenance page based on API call to external system
I would like to setup traffic redirection based on the response of an API call to an external application -
a) If the API returns "true", the traffic will need to be directed to a static mainten...
Kai_Wilke
MVP
Jan 22, 2019Hi Joshy,
solving c.) with native health-monitors sounds challenging.
You would need an "External Monitor" script which CURLs your web service and then stores the current state in a text file as a fallback mechanism for the next probe.
https://devcentral.f5.com/articles/ltm-external-monitors-the-basics
https://devcentral.f5.com/codeshare?sid=395
Cheers, Kai
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
