Keep warning state and override Ok from plugin for n seconds ( or ACK ?)


I have a plugin which detects (physical) motions and it works great :slight_smile: BUT, I call that check every 2sec and I would get a lot of WARN/OK states, because of the flapping. My question is how to solve it. My idea would be something like a wrapper, that keeps the warn state for - lets say - 5min, until the OK/Recover, independent from the check itself, or I disable the the active check, if I have a WARN state … but than I have to remember, to enable active checks again.

Maybe somebody has a better idea :slight_smile:

cu denny