When collecting KVM data use a local connection

The KVM collector would attempt to use a network connection which
normally results in failure. This changes the collector to use a file
system socket by default.

Change-Id: Id1698a95644c6a6d5102e371a7266794196393c8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-08-25 00:02:00 -05:00
parent 782a884c55
commit 42603ab112
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -335,7 +335,7 @@ metricbeat.modules:
metricsets: ["dommemstat"]
enabled: true
period: 10s
hosts: ["localhost"]
hosts: ["unix:///var/run/libvirt/libvirt-sock"]
# Timeout to connect to Libvirt server
#timeout: 1s