How can I monitor my /backups partition on my Debian-Lenny box?
I have sendmail and I would like to receive an email when my partition gets over, for instance, 80% of its total size.
Write simple script that sends e-mail if space usage gets over 80% and add it to crontab. On FreeBSD
Example of script that checks space usage and prints warning if it is more that 80%:
Have a look at check_disk, which one of the nagios plugins. It is very flexible and the return codes are consistent. It's a tried and true solution.
I'm a big fan of nagios, but you don't need to install nagios server to use the plugins.