The handle_when filter

Reference documentation

Overview

The handle_when enterprise filter is used to reduce notification “noise”.
Users can define a minimum number of event occurrences before notifications
will be sent. Users can also specify a reset time, in seconds, to reset where
recurrences are counted from, to control when reminder/update notifications are
sent. By default, occurrences is set to 1, and reset is 1800 (30 minutes).
The handle_when filter is used by all of the enterprise third-party
integrations.

Configuration

Example(s)

The following is an example of how to configure a check to only notify after 2
occurrences and send reminder/update notifications every 20 minutes. Sensu
Enterprise integrations and standard event handlers using the handle_when
enterprise filter will have events filtered unless these conditions are met.

Newsletter

Subscribe to the newsletter to get product updates about Sensu, including notifications when new releases are available. No more than one email per week, no less than one email per month. #monitoringlove.