Guide - Custom cpu temp script for openmediavault-cputemp plugin https://forum.openmediavault.org/index.php?thread/45959-guide-custom-cpu-temp-script-for-openmediavault-cputemp-plugin/ 2023/07/30 Last updated: 2023/09/24 2023 [0924] Fix typo: install these is -> install these if -- install these if they are somehow not installed, then configure the sensors sudo apt-get install lm-sensors sudo sensors-detect create a new file (script) sudo nano /usr/sbin/cpu-temp Scripts for the CPU detection part of the CPU temp plugin AMD (Ryzen): sensors | grep -A3 k10temp | awk '$1 == "Tctl:" { print $2 }' | grep -o '[0-9.]\+' | sed 's/\.//' Intel - single core Note: inaccurate for multi-core systems, reads only first core - would be fine if the CPU is single core, however sensors coretemp-isa-0000 | awk '$1 == "Core" && $2 == "0:" { print $3 }' | grep -o '[0-9.]\+' | sed 's/\.//' Intel - proper Note: proper format for multi-core systems sensors coretemp-isa-0000 | awk '$1 == "Package" && $2 == "id" && $3 == "0:" { print $4 }' | grep -o '[0-9.]\+' | sed 's/\.//' mark the script as executable chmod +x /usr/sbin/cpu-temp run the script /usr/sbin/cpu-temp run the following commands to set the custom temp script sudo omv-env set "OMV_CPU_TEMP_COMMAND" "/usr/sbin/cpu-temp" sudo omv-env set "OMV_CPU_TEMP_DIVISOR" "10" sudo omv-salt stage run prepare sudo omv-mkworkbench all sudo monit restart omv-engined undoing the custom temp script is the same as setting it except these two lines sudo omv-env unset "OMV_CPU_TEMP_COMMAND" sudo omv-env unset "OMV_CPU_TEMP_DIVISOR"