How to Set Up a Monitoring Alert with Email
Email alerts catch problems before users do. A small script plus cron covers basic thresholds without a full monitoring stack.
Steps
Install a local mail client (configure SMTP/relay for your provider):
sudo apt updatesudo apt install -y mailutilsCreate a script that emails when root disk exceeds 85%: