Forum Discussion
iRule to Kick Off Process with External URL
Hi Everyone, I'm still learning iRules, so I don't know the full extent of it's capabilities. I've searched around but I can't seem to find anything. I'm guessing it's not doable, but I thought I would pose the question to the community.
Here's my scenario: I have two data centers (DC) with GTM and LTMs in both DCs. I have an application that will be running in DC-1. If the health check marks this side down, we want to see if the F5 (either GTM or LTM) can somehow start a process by firing off a HTTP GET that goes after a URL that is in DC-2. The GTM will do it's normal DNS update and the firing of the URL will kick off some processes that will begin to run in DC-2. Is this possible with an iRule or something?
Thanks for any help.
1 Reply
- Kevin_Stewart
Employee
I see potentially three option:
-
Considering this is part of the health check process, you could switch to an external monitor and use a Bash script to cURL the remote resource. This would get triggered when the health monitor fails.
-
You could launch an iCall (or user_alert.conf) process to initiate a cURL request. This would get triggered from an iRule condition (generally a syslog message).
-
You could fire off a sideband call within an iRule. This would get triggered within an iRule condition and as part of the application flow.
-
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