Influx: calculate traffic

dss

New Member
Jan 4, 2025
1
0
1
Good afternoon.
My task is to calculate the traffic for the VM, we collect data in influxe.
I've reaD the topic https://forum.proxmox.com/threads/influx-calculate-outbound-traffic.83218 /.

The main problem is that we sometimes delete and recreate a VM with the same ID again, and I get incorrect results.
Please take a look at the screenshot
influx_netin.png

After deleting and creating a VM, the value "netin"=0.

Has anyone solved such a problem and have you been able to solve it and calculate traffic consumption using only a request to influxe?
Thanks for the help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!