-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
5.2.5
-
None
-
Debian 10 amd64
MariaDB 10.4
Zabbix 5.2.5
Steps to reproduce:
- Create an item, that collects a numerical value, that rarely changes (5m update interval)
- Configure pre-processing "Discard unchanged with heartbeat" for the item with 1h
- Create a Trigger for the item:
{test-item.min(*30m*)}
<>0
- Change the Value from 0 -> 1
Result:
The Trigger Event fires immediately, although the lowest value in the last 30m was 0, it's just not written anywhere in the database (obviously)
See screenshots:
Pre-processing
Trigger
Graph 1h
Graph 30m
Expected:
"min" should work, even when using "discard with heartbeat"
Notes:
Of course I understand why it behaves that way. But isn't it still wrong?
Or am I using the wrong Trigger expression for my goal, especially when using it together with discard unchanged?
Should I have to adjust my discard to be < then my min trigger, to make this work? For example:
Discard unchanged with heartbeat always has to < then the time value in the "min" function to work properly?