May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix


News Enterprise Unix Administration Recommended Books Recommended Links Sysadmin Horror Stories Creative uses of rm Performing the operation on a wrong server
Pure stupidity neatperl neatbash saferm dormant_user_stats emergency_shutdown  msync
usersync dirhist fscape_mon think soft_reboot    
Shadow IT Project Management Programmable Keyboards        
Slackerism Information Overload Workagolism and Burnout Unix Sysadmin Tips Orthodox Editors Admin Humor Sysadmin Health Issues

Filesystem free space monitoring is probably one of the most widely used types of monitors in existence. It is deployed in some form in most organizations that use monitoring.

If you want single threshold and do not mind getting spam alerts you can create tou custom monitoring script in an hour or so.

But if you want intelligent monitoring with two or three thresholds you need either monitoring system with correlation engine or much more complex script Erich is difficult to write and difficult to debug because to suppress messages you need too store the state in af fine.

Fspace monitoring in an attempt to create such a script. Itcsupporte suppression on messages after clossing the threshold,  three thresholds and the ability to select then individually fore each of minorities filesystrm, select the group of email addresses which should  get  alerts and the ability to specify an action on crossing the last so called fatal threshold.

Ib various form it was in production for more the decade.

This version, version 8 is just a polishing effort for the functionality described above.

See also Filesystem free space monitoring