[pve-devel] Count monthly traffic
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Thu Apr 18 07:59:07 CEST 2013
Am 18.04.2013 um 06:32 schrieb Dietmar Maurer <dietmar at proxmox.com>:
>> Then let's go this way. It's much simpler than adding RRD.
>>
>> So the question is should this be a completely new call
>
> Yes, I think this should be a new call:
>
> GET /nodes/<nodename>/netstat
>
> [
> {vmid => 100, dev => net0, in => XXX, out => YYY},
> {vmid => 100, dev => net1, in => XXX, out => YYY},
> {vmid => 200, dev => net0, in => XXX, out => YYY},
> ]
>
> So that we can get all data with one API call.
Yes good idea. Will send patches this week. Thanks Dietmar.
Stefan
More information about the pve-devel
mailing list