playfair039_320
Jul 19, 2017Nimbostratus
Boolean operation for iRule
I have an iRule which makes a call to a REST API to raise an alert when there are no active members within the pool, ie pool monitor reports negative for all members. The problem is: I have a meta header in the "maintenance" page which refreshes every 30s to bring the service back up for the user and for this reason, the system sends multiple alerts. Can i have the code wrapped around a boolean operator that switches to false when the pool is 'empty', send ONE alert and then switches back to true when the service comes back up. Thanks in advance.