I have a item which is polled every 12 seconds. It produces only value 0 and 4. 0 means status is down, 4 means status is up.
Trigger:
Recovery:
But the recovery alerts recovers instantly as soon as it sees value "4". I wanted it to ensure that for 10 minutes the value should be "4". Any idea what is wrong?
Latest data history values:
2019-12-31 08:47:41 4 -> Alerts gets recovery instantly
2019-12-31 08:46:41 0 -> Alerts gets triggered
2019-12-31 08:45:41 0
2019-12-31 08:44:41 0
2019-12-31 08:44:17 4
Trigger:
Code:
{host1:item_status.max(#3)}<>4
Code:
{host1:item_status.last(10m)}=4
Latest data history values:
2019-12-31 08:47:41 4 -> Alerts gets recovery instantly
2019-12-31 08:46:41 0 -> Alerts gets triggered
2019-12-31 08:45:41 0
2019-12-31 08:44:41 0
2019-12-31 08:44:17 4
Comment