Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Triggering an Event Policy Based on Event Count

    You can configure an event policy to be triggered if an event or set of events occurs a specified number of times within a specified time period.

    To do this, include the optional trigger statement at the [edit event-options policy policy-name within seconds] hierarchy level:

    [edit event-options policy policy-name within seconds]trigger (after | on | until) event-count;

    The software counts the number of times the triggering event occurs. A triggering event can be any event configured at the [edit event-options policy policy-name events] hierarchy level. You can configure the following options:

    • after event-count—The policy is executed when the number of matching events received equals event-count plus one.
    • on event-count—The policy is executed when the number of matching events received equals event-count.
    • until event-count—The policy is executed each time a matching event is received and stops being executed when the number of matching events received equals event-count.

    For a configuration example, see Example: Triggering a Policy Based on Event Count.

    Published: 2013-03-05