yes I think you can look at pve2.3 patches in statuc.c .(it's really easy).

As an rrd can't be easily changed, you need to create a new rrd file/structure.

Each rrd have a "stream", values are send in the stream across each host, then 
each host write values in rrds.
(except some values which are skipped (status.c) and not writen to rrd, but 
only keep in memory, like "running" value for example) 


----- Mail original ----- 

De: "Stefan Priebe" <s.pri...@profihost.ag> 
À: "Dietmar Maurer" <diet...@proxmox.com> 
Cc: "Alexandre DERUMIER" <aderum...@odiso.com>, pve-devel@pve.proxmox.com 
Envoyé: Lundi 11 Mars 2013 21:32:23 
Objet: Re: [pve-devel] Count monthly traffic 

Hi, 
Am 11.03.2013 16:23, schrieb Dietmar Maurer: 
>> do i need to add pve2.4? 
> 
> next version will be 3.0 ;-) 
> 
> This will require some low level C hacking in pve-cluster/data/src/status.c 
> (search for rrd). 
> We need to create a new rrd definition, and we can use key 'pve3-vmnet'. 
> 
> Just tell if you need more help. 

Thanks i would start to look at Alexandres patches where he introduces 
pve2.4 would this be a good starting point? 

Stefan 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to