Hello,
I've setup an influxDB server to collect proxmox data and I want to calculate the daily outbound traffic from every VM.
I'm using this query and I want to verify that the number I'm getting is the correct one, so I can update my ERP and check if bw usage has been extended.
I'm getting a number like 62294934 which I can get is in bytes and I want to verify somehow that this is the correct number, so I can add it in the overall bw usage of client's service, along with other service VMs.
Any guidance is much appreciated.
Thank you in advance.
I've setup an influxDB server to collect proxmox data and I want to calculate the daily outbound traffic from every VM.
I'm using this query and I want to verify that the number I'm getting is the correct one, so I can update my ERP and check if bw usage has been extended.
SELECT LAST(transmit) - FIRST(transmit) as traffic FROM nics WHERE time >= now() - 24h AND host='{HOST}' AND instance = 'tap{VMID}i0'
I'm getting a number like 62294934 which I can get is in bytes and I want to verify somehow that this is the correct number, so I can add it in the overall bw usage of client's service, along with other service VMs.
Any guidance is much appreciated.
Thank you in advance.