<div dir="ltr"><div><br></div><div>Hello *,</div><div><br></div><div>For collecting stats of KVM virtual machines I use the libvirt plugin.</div><div>This works correctly for 1 machine. See the configuration below.</div><div>
<br></div><div>When enabling a second KVM host only the VM's of this host are updated.</div><div><br></div><div>I placed the two connections in one Plugin section. No success...</div><div><br></div><div>How can I configure a second (or more) KVM host in the /etc/collectd.conf?</div>
<div><br></div><div><Plugin libvirt></div><div> Connection "qemu+ssh://root@kvm01/system"</div><div> RefreshInterval 60</div><div># Domain "name"</div><div># BlockDevice "name:device"</div>
<div># InterfaceDevice "name:device"</div><div># IgnoreSelected false</div><div># HostnameFormat name</div><div># InterfaceFormat name</div><div></Plugin></div><div><br></div><div>#<Plugin libvirt></div>
<div># Connection "qemu+ssh://root@kvm02/system"</div><div># RefreshInterval 60</div><div># Domain "name"</div><div># BlockDevice "name:device"</div><div># InterfaceDevice "name:device"</div>
<div># IgnoreSelected false</div><div># HostnameFormat name</div><div># InterfaceFormat name</div><div>#</Plugin></div><div><br></div><div><br></div><div>I use collectd-5.4.0 compiled from source on Centos 6.4</div>
<div><br></div><div><br></div><div>Regards,</div><div>Emile</div></div>