Freespace check and warning Perl script
A while back I needed a warning system for when my backups disk runs out of free space.
Gathering information from various other existing scripts, I wrote a small Perl script that check the available space and send warning emails if it drops below a defined level.