[collectd] Problem configuring multiple KVM hosts with plugin libvirt

Martin Chamambo chamambom at afri-com.net
Fri Jul 3 08:16:58 CEST 2015


I am having issues with configuring multiple KVM hosts to be monitored by the virt plugin on collectd. I have tried the following configs below

NB: if I configure just one connection URL of just one server ,im able to see traffic for the different VMs but when I add more servers ,then the last connection URL  will work

<Plugin virt>
        Connection "qemu+ssh://root@10.70.85.222/system"
  Connection "qemu+ssh://root@192.168.1.5/system"
        Connection "qemu+ssh://root@10.70.85.69/system"
        RefreshInterval 60
#       Domain "name"
#       BlockDevice "name:device"
#       InterfaceDevice "name:device"
#       IgnoreSelected false
#       HostnameFormat name
#       InterfaceFormat name
#       PluginInstanceFormat name
</Plugin>

And this one

<Plugin virt>
        Connection "qemu+ssh://root@10.70.85.222/system"
         RefreshInterval 60
#       Domain "name"
#       BlockDevice "name:device"
#       InterfaceDevice "name:device"
#       IgnoreSelected false
#       HostnameFormat name
#       InterfaceFormat name
#       PluginInstanceFormat name
</Plugin>


<Plugin virt>
        Connection "qemu+ssh://root@10.70.85.69/system"
         RefreshInterval 60
#       Domain "name"
#       BlockDevice "name:device"
#       InterfaceDevice "name:device"
#       IgnoreSelected false
#       HostnameFormat name
#       InterfaceFormat name
#       PluginInstanceFormat name
</Plugin>

Both methods are not working



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150703/50b5e56b/attachment.html>


More information about the collectd mailing list