CPU temp + ID missing Dashboard

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.104
ODROID M1

There is no information about the CPU temp and Vendor in Dashboard.
Sensors is running correctly:

sensors
cpu_thermal-virtual-0
Adapter: Virtual device
CPU Temp: +39.4 C (crit = +95.0 C)

gpu_thermal-virtual-0
Adapter: Virtual device
temp1: +35.6 C (crit = +95.0 C)

l
lscpu:
Vendor ID: ARM
Model name: Cortex-A55

Could someone give me tips?

Thanks!

Since there’s no standard for how this info is displayed, everything looks a little different. I guess we’re not recognizing this one in the parser. Here’s the code where that happens, I think: https://github.com/webmin/webmin/blob/c0bc9daff37157bd43207b221ee2d985925be7c9/proc/linux-lib.pl#L502

As you can see it’s quite messy, because nobody agrees on how to label and display this data.

@Jannock We could probably help in teaching Webmin parsing your specific output.

What is the output of sensors command on your system?

Thanks Ilia. The output of sensors is:

sensors

cpu_thermal-virtual-0
Adapter: Virtual device
CPU Temp: +42.5 C (crit = +95.0 C)

gpu_thermal-virtual-0
Adapter: Virtual device
temp1: +36.7 C (crit = +95.0 C)

This fix is here:
https://github.com/webmin/webmin/commit/a85fa2f8c281fd28e1a4a80c44d08231681be077

Thanks very much Ilia!

I did a package reinstall, but nothing changed.

You can try the following command to apply the patch:

cd /usr/share/webmin && curl https://github.com/webmin/webmin/commit/a85fa2f8c281fd28e1a4a80c44d08231681be077.patch | git apply --reject --whitespace=fix

… then don’t forget to restart Webmin manually using systemctl restart webmin command and at last force refresh system information using top right refresh button in the dashboard.

Does it show CPU temperature information now?

Thanks for your excellent answer. CPU temp is now visible!

1 Like