> Can you give me a brief explanation about how you are gathering the per vm
> stats?  Maybe I can figure out what is wrong with the cacti setup?
>

We directly query the kvm process using the  'query-blockstats' qmp command:

----------------------
#!/usr/bin/perl

use strict;
use warnings;
use PVE::QMPClient;
use Data::Dumper;

my $vmid = shift || die "no VMID specified\n";

my $qmpclient = PVE::QMPClient->new();
my $res = $qmpclient->cmd($vmid, { execute => 'query-blockstats'});

print Dumper($res);
------------------


_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to