collectd is failling to collect the info for libvirt
Issue
- collectd is failing to collect virt details:
# systemctl status -l collectd
● collectd.service - Collectd statistics daemon
Loaded: loaded (/usr/lib/systemd/system/collectd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-01-09 15:28:17 CET; 19min ago
Docs: man:collectd(1)
man:collectd.conf(5)
Main PID: 4369 (collectd)
Tasks: 11
Memory: 3.5M
CGroup: /system.slice/collectd.service
└─4369 /usr/sbin/collectd
<hostname> collectd[4369]: plugin_load: plugin "syslog" successfully loaded.
<hostname> collectd[4369]: Systemd detected, trying to signal readyness.
<hostname> systemd[1]: Started Collectd statistics daemon.
<hostname> collectd[4369]: No worthy mechs found
<hostname> collectd[4369]: virt plugin: Unable to connect: virConnectOpen failed.
<hostname> collectd[4369]: libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)
<hostname> collectd[4369]: Initialization of plugin `virt' failed with status -1. Plugin will be unloaded.
<hostname> collectd[4369]: plugin_unregister_read: No such read function: virt
<hostname> collectd[4369]: Error: one or more plugin init callbacks failed.
<hostname> collectd[4369]: Initialization complete, entering read-loop.
Environment
- Red Hat Virtualization 4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.