我正在运行 Ubuntu 20.04 并尝试启用热插件。当我启动守护进程时,我看到这些消息:
Starting Statistics collection and monitoring daemon...
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "syslog" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "thermal" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "battery" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "cpu" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "df" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "disk" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "entropy" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "interface" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "irq" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "load" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "memory" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "processes" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "rrdtool" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "swap" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: plugin_load: plugin "users" successfully loaded.
Sep 17 14:19:56 myhost collectd[10589]: Systemd detected, trying to signal readiness.
Sep 17 14:19:56 myhost systemd[1]: Started Statistics collection and monitoring daemon.
Sep 17 14:19:56 myhost collectd[10589]: Initialization complete, entering read-loop.
Sep 17 14:19:56 myhost collectd[10589]: read-function of plugin `thermal' failed. Will suspend it for 20.000 seconds.
Sep 17 14:20:16 myhost collectd[10589]: read-function of plugin `thermal' failed. Will suspend it for 40.000 seconds.
Sep 17 14:20:56 myhost collectd[10589]: read-function of plugin `thermal' failed. Will suspend it for 80.000 seconds.
Sep 17 14:22:16 myhost collectd[10589]: read-function of plugin `thermal' failed. Will suspend it for 160.000 seconds.
Sep 17 14:24:56 myhost collectd[10589]: read-function of plugin `thermal' failed. Will suspend it for 320.000 seconds.
我如何确定为什么它给我“插件‘热’的读取功能失败。”?
答案1
@Peregrino69 的建议有效。我从collectd.conf 文件中删除了该设备。现在看起来像这样:
<Plugin thermal>
ForceUseProcfs false
IgnoreSelected false
</Plugin>
“读取功能失败”消息现已消失。