Hi, I have a small internal services that contains few ESXi instances in a cluster.
The question i have is that what is GOTO solution for getting traffic usage of a VM inside a ESXi instance
I know that we can use vCenter to get a usable traffic real-time usage, but it's not accurate
also, we can have distributed switch and get net flow on it but its also not 1:1 because its layer 3 and it will be so much data, its not even viable
what im looking for:
the full upload and download usage of a VM network interface.
Just 2 metrics is enough the total_TX_bytes and total_RX_bytes so we can store it over time and get a nice graph usage out of it
I looked everywhere, I just found vsysh command that show the byte_tx and rx for a vm network interface
it's ssh only, no public API and it's not on Esxcli
also the SNMP on the ESXi also not expose this data
I'm wandering whats a default solution for this problem because almost all of public datacenters like Hetzner, AWS, Linde, ..... have traffic limits so you billed on usage.
isn't there any outside VM , production ready solution for this problem?
Think of it, I'm a small cloud provider that provides really expensive route so i need to bill as accurate as possible (e: VM used 1TB TX and 500GB RX).
I cannot trust in VM solutions like zabbix agent or similar as primary source of truth, user can modify it easily