[collectd] libvirt plugin Xen and vifX.Y
Poil
poil at quake.fr
Tue Sep 27 18:46:34 CEST 2011
Hi,
We are using the libvirt collectd plugin for rrding our XEN hosts.
It's collecting virt_cpu_total, blkdevice and interface.
Xen is configured for multi-network-script bridging
At each time we shutdown/restart a virtual machine, the vifx.y show his
y increased by one.
Example :
At the first start :
* VM1 got 2 Interfaces
VM Eth0 ==> vif0.1 ==> xenbr0 ==> (p)eth0
VM Eth1 ==> vif1.1 ==> xenbr1 ==> (p)eth1
* VM2 got 2 Interfaces
VM Eth0 ==> vif0.2 ==> xenbr0 ==> (p)eth0
VM Eth1 ==> vif1.2 ==> xenbr1 ==> (p)eth1
If I shutdown VM1 and start it again I'll got this :
* VM1 got 2 Interfaces
VM Eth0 ==> vif0.3 ==> xenbr0 ==> (p)eth0
VM Eth1 ==> vif1.3 ==> xenbr1 ==> (p)eth1
* VM2 got 2 Interfaces
VM Eth0 ==> vif0.2 ==> xenbr0 ==> (p)eth0
VM Eth1 ==> vif1.2 ==> xenbr1 ==> (p)eth1
My question is: Is there anyway to set ifname collected by collectd to
VIFX (ignore ".Y")
Best regards,
Benjamin
PS : A software I made at work, it can help some ppl
https://github.com/Poil/CGRAPHZ/wiki : Graphical web front-end for Collectd
More information about the collectd
mailing list