Does Zabbix sum data over a period

graphopennmssnmpzabbix

I know Zabbix handles numeric data in a way that it shows the absolute value for a given instant. But I have another type of data that accumulates over time (ie. number of bytes transmitted – not transmission rate).

When I am looking at a latest values -> graphs, I would like to see the sum of those values over a period of time. Example: when looking at a week chart, a pixel in the horizontal axis would be a period of 30 minutes. Instead of seeing the average number for the span of 30 minutes in each horizontal pixel I would like to see the sum of the values.

There is any way to do that?

Edit: The variable I am tracking is the number data items sent to a server. The values are sent to Zabbix (or to my current NMS) in a per request basis, so there is no defined period. In a minute Zabbix could receive a single report with the value 300, or 10 reports, each one with the value 20. What I want to show in the graph is the sum, 300 or 200 for each case respectively.

Best Answer

If you define a graph (as opposed to just clicking on an item and seeing the adhoc graph) you can specify that an item should be shown as its MAX value for the period represented by each pixel.

But if you are storing deltas (count per second) for things like traffic counters, printer page counters, etc., then you can also just use AVG and then do the following:

  1. When you want to know the total for a period of time, graph the item over that period using an adhoc graph
    • Look at the average over the period (printed on the graph), and then multiply by the number of seconds in the period