The time window is equal to the product the period times the evaluation periods. For example: If the period is 600 (10 minutes), and the evaluation periods is 3, then the time window is 3x600 = 1800 (half an hour)
The period evaluation is done per minute.
In time window, there should be a data point that is satisfy the comparison in the oldest period, and if there are other data points, they should also be satisfy the comparison too. For example:
If the period is 600,
and the evaluation periods is 3,
and the comparison operator is GreaterThanThreshold
,
and the threshold is 1,
and all the data points before 6:00 are 0,
and the data point at 6:00 is 2,
Then the alarm state will change to Alarm if
In time window, the latest data point is not satisfy the comparison. For example:
If the period is 600,
and the evaluation periods is 3,
and the comparison operator is GreaterThanThreshold
,
and the threshold is 1,
and all the data points before 6:00 are 2,
and the state is already Alarm,
Then the alarm state will change to OK if the data point at 6:00 is 0.
In time window, there are no data points at all. And, after 5 minutes OR two times of period delay (the greater), the status will change to insufficient.
Changes | high period with 1 evaluation period | low period with more evaluation periods |
---|---|---|
OK/ID -> Alarm | State change immediately | State change after a while1 |
Alarm/ID -> OK | State change immediately | State change immediately |
Alarm/OK -> ID | State change after time window with a longer delay2 | State change after time window with a shorter delay3 |
(period * evaluationPeriods)
.period + min(2 * period, 300)
.(period * evaluationPeriods) + min(2 * period, 300)
.