A server in a cupboard can get warm without you noticing. On Linux, the lm-sensors package reads the temperature, fan and voltage sensors on the board.
sudo apt install lm-sensors
sudo sensors-detect
sensors
The lm-sensors project describes sensors-detect as a tool that detects the installed hardware and recommends which kernel modules to load. The README says to run it as root.
After that, sensors is the console tool that reports the sensor readings: temperatures, fan speeds and voltages, depending on what the chips on your board expose.
Next to each reading the chip often reports its own high and critical limits, which gives you a feel for how much room there is. Combine it with watch to see the numbers move during a heavy job, such as a parity check or a long transcode:
watch -n 2 sensors
Caveats. Not every board exposes everything; on some machines you only get the CPU. The labels come from the chip driver and can be cryptic, like temp1. And inside a container or a VM you usually see nothing at all, because the sensors belong to the host. Run it on the host itself, and if the numbers look wrong, compare them with what the BIOS setup screen shows.
Further reading: lm-sensors on GitHub
Going deeper: Keep a domain pointed at your home with Cloudflare DDNS on Unraid