Forum Discussion
Health Check with Authentication when Initial URL Redirects
On an LTM with 11.4.1 code:
I've been tasked with creating an HTTP health check that requires authentication. But there's a catch:
Initial call will be like http://1.1.1.1/config/ExtendedHealthcheck.hc
However, going to that initial page redirects to http://1.1.1.1/config/login.jsp which is where the login is presented. Oh, and that page presents a JSESSSIONID cookie as well. After successful login to the page you get to /config/ExtendedHealthCheck.hc where the content is returned.
I've searched for something similar online but can't quite figure it out. Any ideas?
Thanks!
-Samson
2 Replies
Hi Samson!
I'd recommend looking at an external monitor for this. You can do a shell script with curl which could accomplish this:
https://devcentral.f5.com/wiki/AdvDesignConfig.ExternalMonitor.ashx
Good luck!
/Patrik
- Samson
Nimbostratus
Awesome - thanks for the prompt feedback! I'll give it a whirl.
-Samson
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
