[pve-devel] Count monthly traffic

Dietmar Maurer dietmar at proxmox.com
Wed Apr 17 14:17:41 CEST 2013


> Nowhere ;-) how about just return the counter values for the correct tap device
> through API?
> 
> So it is basically:
> 1.) a wrapper from netX to correct tap
> 2.) query tap counter inout / output values
> 3.) allow to query this through API
> 
> So it is at least possible to implement traffic account in external software. You
> jsut have to query the API every X seconds and detect resets yourself. It acts
> than basically like SNMP traffic counters in switches.

sounds reasonable.




More information about the pve-devel mailing list