This is my test script in bash which output mounted disk usage in percentage and sends alert to user's email if reached certain threshold. Clean output when executed. To be able to use the email alert to your email, you should have an MTA installed on your Linux machine. Example: Postfix.
devin-das / disk-usage-script Goto Github PK
View Code? Open in Web Editor NEWDisk Usage Alert to User's Email when executed