(Using Zabbix 5.0.7)
I created a widget with "Graph" type and wanted to see an average line on it acording to the Dashboard period selector.
As an example, the Graph bellow collects a performance mesure every 5m, but it shows not average.

By using a "Classic Graph" type I'm able to see the average according to the selected period but I can't draw an average line on it.

I was hoping to draw an average line but could not find that option with "Graph" type.
To remediate that behavior I created another item that calculates the average of the last 5 collected values and added it to the graph as shown bellow.

Is there a better way to include an average line on a Graph?
Thanks
I created a widget with "Graph" type and wanted to see an average line on it acording to the Dashboard period selector.
As an example, the Graph bellow collects a performance mesure every 5m, but it shows not average.
By using a "Classic Graph" type I'm able to see the average according to the selected period but I can't draw an average line on it.
I was hoping to draw an average line but could not find that option with "Graph" type.
To remediate that behavior I created another item that calculates the average of the last 5 collected values and added it to the graph as shown bellow.
Code:
avg("net.tcp.service.perf[https,,{$HTTPS.STATUS.PORT}]",25m)
Is there a better way to include an average line on a Graph?
Thanks
Comment