Фрілансер:
leegint
Disk monitor script
The script monitors the disk utilization of all partitions in the server and if the usage exceeds the threshold we have set, the script will be triggered and an email will be sent to the recipient address defined in the script. The script is versatile that you have to change the recipient email address, threshold and even exclude certain partitions from triggering the alert. A cron has to be set in the preferred time interval and smtp settings in the server should be configured properly so that the email does not land in the spam box.