-
Type:
New Feature Request
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: Server (S)
-
None
It would be nice to have also changecount functions for trends.
Currently they exists only for history: https://www.zabbix.com/documentation/6.4/en/manual/appendix/functions/history
It seems to be similar to baselinedev function, but the return value of the baselinedev is horrible to comprehend
We need a easier function that returns the absolute count of value changes over time.
Could based on the trend avg value.
Example use case:
Item with an counter for something. But not the counter value it self is interesting, just the changes.
How often changed it in the last x days, weeks, months?
Example trend data:
| Time | AVG Value |
|---|---|
| 10:00 | 0 |
| 11:00 | 10 |
| 12:00 | 10 |
| 13:00 | 0 |
| 14:00 | 1 |
| 15:00 | 1 |
Expected result at 15:01:
| Function call | return value |
|---|---|
| trendchangecount(1h:now/h) | 0 |
| trendchangecount(2h:now/h) | 2 |
| trendchangecount(3h:now/h) | 3 |
| trendchangecount(4h:now/h) | 4 |
| trendchangecount(5h:now/h) | 4 |
| trendchangecount(6h:now/h) | 5 |