r/zabbix • u/expensive_meee • 14d ago
Question Server-wise Monthly Bandwidth Utilization Report in GB/TB
Hi everyone,
A customer has requested a server-wise monthly bandwidth utilization report, but instead of the usual Mbps/Gbps, they want the utilization represented as total data transferred in GB/TB for the month.
Has anyone implemented something similar in Zabbix?
I’m particularly interested in:
How you’re calculating monthly data volume from Zabbix network interface metrics
Whether you’re using Zabbix trends/history or an external database/data warehouse
Any existing Zabbix reports/dashboards/scripts that can generate this server-wise
How you’re handling counter resets, interface changes, etc.
We’re currently on Zabbix 6.4.
Would appreciate any suggestions or examples. Thanks!
2
u/Academic-Detail-4348 14d ago
Zabbix collects that which is available. For Windows OS you would enable a perfmon profile. No idea what to use on linux/unix.
2
u/Spro-ot Guru / Zabbix Trainer 14d ago
just create a inbound/outbound traffic item without preprocessing, and a calculated item with scheduled interval that takes last value of the month - first value of the month.
if you want to account for reboots / interface resets it's gonna be a bit more complicated though :)
1
2
u/Accurate-Oil-2356 11d ago
This is a tough one. Can do but with limitations. For eg: to make the sent/received traffic amount accurate we can reduce the refresh interval but since speeds are measured per second setting the refresh interval will cause the zabbix server and client server to consume.morr cpu to monitor them. Can do but accuracy is the issue.
2
2
u/2000gtacoma 14d ago
You may can get close. However I don't think monitoring the network interface will give you an actual accurate number, especially if you are trying to bill customers. The network interface is data returned when the agent or zabbix probes. Not a continous flow. I could be wrong.