A simple temperature alert script for proxmox/linux on Telegram
- Install sensors (apt install lm-sensors on Debian/Ubuntu etc)
- Copy alertemp.sh in /root/ folder
- Edit parameter in alertemp.sh with your telegram key and chat ID, if you need edit the temperature threshold
- Copy tempcheck.service in /etc/systemd/system/ folder
- Copy /tempcheck.timer in /etc/systemd/system/ folder
- Execute systemctl enable --now tempcheck.timer
Check that the script can write to temp. if it cannot, it won't be able to create the temporary file.