I have been trying to find some tool to allow me to monitor and get stats from virtual machine network usage.
I have a proxmox host with several virtual machines, and I would like to have some sort of bandwidth monitoring, to allow me to stop virtual machines that exceed their quota.
It appears that Proxmox has this bandwidth monitoring feature planned, but since nothing has been made available so far, I wanted to implement this myself.
I can either have software installed on the proxmox host, or a virtual machine that would be responsible for this, as long as it is able to monitor network traffic or receive this information from the host.
The virtual machines I have inside proxmox are not containers, they are KVM virtual machines. I have done something similar in the past using iptables for OpenVZ, but I would like insights from someone with experience in this.
Is iptables the way to go? Should I be doing this inside the host, or with an external virtual machine? What would you recommend? I have gone through PRTG and Solarwinds, but as these might not be the best solutions, I wanted someone to shed some light into this.