Ganglia VM monitoring VMID bug
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 2.2.1|
I just implemented the ONE-2.2+Ganglia-3.1.7 monitoring for both hosts and VMs and it worked very well except one issue in VM monitoring.
I have to change line 122 of $ONE_LOCATION/lib/remotes/vmm/kvm/poll to be
Basically the reason is the split output of "virsh list" at each line would look like
["", "5", "one-149", "running"]
the original code get libvirt id while we need the libvirt VM name which contains the ONE VMID.
Once I have changed, the VM monitoring works very well.
My setup is ONE-2.2 on x86_64 RHEL-6 using KVM.
bug #563: delete empty columns from virsh list output
(cherry picked from commit 9f7b0864044abc146948f4e756810fae7ba83afb)
#3 Updated by Javi Fontan almost 10 years ago
Could you check that it work with the latest patch in your infrastructure? I'm an testing it in my side.