NUC Temperature Monitoring w/ Prometheus on FreeBSD
18th December 2020

Recently, after I switched to FreeBSD on
my server, I decided to pay more attention to the temperatures. As I’m using
Prometheus with
node_exporter the CPU
temperatures are exported as node_cpu_temperature_celsius
automatically. They
didn’t, however, show any values (only NULL
). It turned out that the special
device driver has to be loaded first: coretemp
. In order to enable it, it has
be added to /boot/loader.conf
:
echo 'coretemp_load="YES"' >> /boot/loader.conf