iRule to act on external events
I have a customer who wishes to redirect requests to their site depending on the existence of a flag file within their site. I can create a cron job or external monitor to test for the existence of this file, but want suggestions as to how to refer to this within my iRule.
Is there some way to check for a local file, or environment variable, within a rule applied to a virtual?
There may be another way of achieving the above requirement. I am open to suggestions.