[pve-devel] [PATCH] Qemu Guest IOPS Graphing

James Watson j at mez.co.nz
Tue Oct 27 02:19:05 CET 2015

The method can be as simple as:

cd /var/lib/rrdcached/db/pve2-vm/; for i in *; do perl rrdaddsource.pl 
$i $i.new readiops:DERIVE:120:0:NaN writeiops:DERIVE:120:0:NaN; mv 
$i.new $i; done

rrdaddsource.pl file attached. This could be packaged to run on update.

Kind Regards,
James Watson

On 26/10/15 22:23, Dietmar Maurer wrote:
>> This assortment of patches add graphing for total disk IOPS (read/write)
>> on the Guest summary page for Qemu guests. Tested on NFS, Ceph and local
>> storage via latest proxmox release. If patching over existing VM's it
>> will require the RRD table to be updated to allow collection of data,
>> anything new will be fine.
> I wonder if we can do that automatically somehow? We cannot tell 100000 people
> to do that manually.
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdaddsource.pl
Type: text/x-perl
Size: 3238 bytes
Desc: not available
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20151027/544d1efc/attachment-0001.pl>

More information about the pve-devel mailing list