Guardian for water-cooled server. When temperature raises beyond a reasonable threshold, the server shutsdown.
Just read the code. It is only 60 lines
sensor-lm, grep
Run the script with root privilege using crontab
1 * * * * /bin/bash /root/main.bash
If it does not work, try make it executable.
chmod +x main.bash