For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

harton's avatar
harton
Icon for Nimbostratus rankNimbostratus
Mar 25, 2014

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

  • I see potentially three option:

     

    1. 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.

       

    2. 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).

       

    3. 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.