Step 1: download the free Linux 64-bit console version of HDSentinel; extract the single binary file, save it as /root/HDSentinel and make it executable Step 2: Add the following script: /root/hdsentinel.sh
#!/bin/bash
# cron script to warn on HDD health status changes
MinHealth=60
MaxTemp=55
StatusCmd="/root/HDSentinel -solid"