Forum Discussion

JoshB_41485's avatar
JoshB_41485
Icon for Nimbostratus rankNimbostratus
Sep 22, 2013

APM iRule Event not executing iRule for Exchange 2010 OWA Flags

I'm attempting to implement the following APM configuration for setting Public/Private and Light Version OWA flags for Exchange 2010 but the iRule Event in the Access Policy is not executing the iRule.

 

https://devcentral.f5.com/articles/add-outlook-web-access-login-options-to-the-apm-logon-page

 

The version of the device is BIG-IP 11.2.1 Hotfix HF5.

 

In addition to the standard configuration I have attempted specifying the iRule in the ID field of the iRule Event to include the partition name but hasn't worked (i.e. /Common/owa_form_values_iRule) and creating an Access Policy configuration that just executes the iRule Event and then checking the number of executions on the iRule using tmsh.

 

 

Can anyone advise how I might get an iRule Event to execute an iRule?

 

1 Reply

  • APM iRule events trigger the ACCESS_POLICY_AGENT_EVENT event. If you specify a unique ID in the iRule event agent, you can track that with the ACCESS::policy agent_id. Example:

    when ACCESS_POLICY_AGENT_EVENT {
        switch [ACCESS::policy agent_id] {
            "irule_agent_id_1" { 
                 do something
            }
            "irule_agent_id_2" {
                 do something
            }
        }
    }