Code

Add InterfaceFormat setting to libvirt plugin
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 30 May 2010 12:57:18 +0000 (14:57 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 1 Jun 2010 13:53:37 +0000 (15:53 +0200)
commit73bb33beedf018944ea2a3effdef2e8107df6977
treefc4087e05f30784d0ef5240f566e50fcfc8fc850
parent96c7236a210a3e85116c053ac79fe10c38a3a9d4
Add InterfaceFormat setting to libvirt plugin

Since the interface path changes between reboots of a
virtual machine, each reboot generates a new instance in collectd.

So let's introduce the InterfaceFormat setting
When set to 'address' it uses the mac address of
the interface instead of the path.

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.conf.in
src/collectd.conf.pod
src/libvirt.c