How to force event to be sent to handler the first time a check is run


#1

Hello,

I want to monitor the state of objects in a cloud computing environment. I am using Sensu pipe handler to adjust object status in my objects DB based on check results.
By default events are reported only on change of state, which is generally good. However, this filtering also causes the handler to be called only when the initial state changes, so the initial state is never sent to the handler.

Is there a way to use a filter to force event processing for the first time a check is run? After that I want only state changes to be processed.

Thanks,

Yaron