author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 30 May 2010 12:57:18 +0000 (14:57 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 1 Jun 2010 13:53:37 +0000 (15:53 +0200) | ||
commit | 73bb33beedf018944ea2a3effdef2e8107df6977 | |
tree | fc4087e05f30784d0ef5240f566e50fcfc8fc850 | tree | snapshot |
parent | 96c7236a210a3e85116c053ac79fe10c38a3a9d4 | commit | diff |
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>
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 | diff | blob | history | |
src/collectd.conf.pod | diff | blob | history | |
src/libvirt.c | diff | blob | history |