Forum Discussion
rajesh1
Nimbostratus
Jun 10, 2009LTM - HTTP monitor configuration
Hi,
How to configure Http/Https monitor to look in to the content of a redirect string.
example - I am doing Http GET /app/id1 - On the webserver /app/idi is redirected to a different location.
From the F5 - if i use curl -L i am getting a correct response.
If anybody expereince this and having a solution please provide the HTTP monitor setting.
Regards,
Rajesh
4 Replies
- The_Bhattman
Nimbostratus
Have you looked at the following
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/HTTPMonitor_cURL_BasicGET.html
CB - rajesh1
Nimbostratus
Thanks for the reply .
Could you please let me know what changes are required in the script to mark the node as down if i recieve the expected response (i.e Reverse option in the monitor)
Regards,
Rajesh - The_Bhattman
Nimbostratus
I believe in the script where it says "UP" you just use "DOWN"
Give that a shot
Hope this helps,
CB - rajesh1
Nimbostratus
It worked by changing the if statement
if[$? -ne 0] instead of if[$? -eq 0].
Thanks for your response..it helped
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