Check for mounted filesystems nearing capacity
check-diskfree
The check-diskfree command scans mounted filesystems and allows alerts to be sent when usage exceeds a given threshold. This is a plugin which is invoked by checksecurity (8) if enabled.
The check-diskfree.conf file defines the configuration variable: CHECK_DISK_PERCENT which is described below.
The CHECK_DISK_PERCENT variable is the percentage full the filesystem must be before an alert is sent. Valid values are any numerical value between 1 and 100.
/etc/checksecurity.conf
Specifies whether this script is invoked
/etc/checksecurity/check-diskfree.conf
The configuration file.