Format of event processing rules for policy types

A typical event processing rule for a user-defined policy type has the following form:

<rule-phase> rule-name:
   using_policy
   {
      <POLICY_TYPE> ($POL) where [ ($POL.enabled == 1) AND
         (($POL.active_timeframes == [] OR
tf_active($POL.active_timeframes)) AND
         NOT tf_active($POL.except_timeframes)) ]
   }
   $POL.selector_ecf ($EV) where [ <other conditions> ]
{
      <actions>;
      opadd($EV, $POL.name, "action name", "");
   } END

Was this page helpful? Yes No Submitting... Thank you

Comments