I have the following issue and i offer two possible solutions.
The issue i have is if i pause a device that has a sensor down on it i get an 'up' notification to say the sensor is no longer in a down state. When i un-pause the device i then get another notification to say the sensor is down. I have messed about with the state sensors but cant find a combination that works.
I propose the following improvements to the state sensor:
- add the ability to define what the previous state of the sensor is in before sending notification. so for example i could say 'if a sensor enters the down state and was previously in a paused state perform no action' or 'if a sensor enters the paused state and was previously in a down state perform no action'
- add the ability to chose between 'When sensor state is down' and 'When sensor state is NOT down'. that way i could set it up as follows:
When sensor state is not up for at least 300 seconds, perform Email Helpdesk
or one better allow multiple states:
When sensor state is not up, OR warning, OR paused for at least 300 seconds, perform Email Helpdesk
feedback would be appreciated
Add comment