diskusage.sh is a tiny shell script that checks the usage(%) of a filesystem, compares it against a set threshold value, and if it is greater than the threshold value, sends an email with a disk full warning.
p. You can simply download the shell script to a folder, and set up a cron job that runs the script every two hours or so.
p. I wrote this script mainly because it sometimes becomes impossible for me to keep a check on some rogue machines to monitor the disk usage. This script does the job for me.
p. You can download the script here. Feel free to improve the script and send comments.