I am stuck in this issue and honestly appreciate any help !!
Context:
We are trying to apply trendavg function in Zabbix trigger expressions to calculate change in value. There are many userparameters (curl statements) which pull data from source, apply jq and return a numeric value
Imp: In case source from where value is pulled is down, user parameter function returns -1
Problem:
Trendavg is basically consuming that -1 value as well to diluting the actual average. Average is falling, creating a lot of noise in system
Question: Is it possible to filter values in trigger expression to only include positive values in average? Any hack to filter out values and then try to average?
Background Information:
Zabbix Version: 5.4
Context:
We are trying to apply trendavg function in Zabbix trigger expressions to calculate change in value. There are many userparameters (curl statements) which pull data from source, apply jq and return a numeric value
Imp: In case source from where value is pulled is down, user parameter function returns -1
Problem:
Trendavg is basically consuming that -1 value as well to diluting the actual average. Average is falling, creating a lot of noise in system
Question: Is it possible to filter values in trigger expression to only include positive values in average? Any hack to filter out values and then try to average?
Background Information:
Zabbix Version: 5.4
Comment