Shell script to monitor HD temperature (and shutdown the server if needed)
Bash script to monitor HD temperature (and shutdown the server if needed)
Usage: for example add crontab command to monitor temperature
*/4 * * * * root /path/to/script/s_hddtemp-monitor.sh > /dev/null 2>&1
-
Require hddtemp installed: "sudo apt install hddtemp"
-
Require notify-send installed (default on ubuntu/debian)
-
Optional smtp softare as ssmtp
sh s_hddtemp-monitor.sh
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Lorenzo "Saibal" Forti - [email protected]
- Lorenzo "Saibal" Forti