You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For security reasons, energy_uj is now readable only by root, and is likely to remain so. Telegraf cannot read this file and it would be nice if it failed without putting an error message in the logs every ten seconds.
In the long term, as more kernels update, a workaround to reading energy_uj will be needed.
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf:
System info:
Telegraf 1.18.3 (git: HEAD 6a94f65)
Fedora 34
Kernel 5.12.8
Steps to reproduce:
[[input.intel_powerstat]]
with `cpu_metrics = ["cpu_temperature"]journalctl -u telegraf -f
Expected behavior:
Hate to say it, but silent failure would be better. See additional info section.
Actual behavior:
Everytime metrics are collected, intel_powerstats reports an error and fails to read cpu_temperature
Additional info:
File is read-only by root
Similar issue for prometheus here
Related to this kernel change and Intel CVE-2020-8695
For security reasons,
energy_uj
is now readable only by root, and is likely to remain so. Telegraf cannot read this file and it would be nice if it failed without putting an error message in the logs every ten seconds.In the long term, as more kernels update, a workaround to reading
energy_uj
will be needed.The text was updated successfully, but these errors were encountered: