Commit e3ae2c58 authored by Alexandre Derumier's avatar Alexandre Derumier Committed by Dietmar Maurer

pvestatd : add template value to rrd

we need it for resourcestore
Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
parent 7152cde1
......@@ -228,7 +228,7 @@ sub update_qemu_status {
my $d = $vmstatus->{$vmid};
my $data;
my $status = $d->{qmpstatus} || $d->{status} || 'stopped';
my $template = 0;
my $template = $d->{template} ? $d->{template} : "0";
if ($d->{pid}) { # running
$data = "$d->{uptime}:$d->{name}:$status:$template:" .
"$ctime:$d->{cpus}:$d->{cpu}:" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment