Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Trigger 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:

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: Trigger an Event Policy Based on Event Count.