/storage_alert_emails

TypeIt4Me storage report

Primary LanguageShell

Storage Alert Automation tool

Designed to update users on storage pools automatically via email. Uses a simple ASCII percentage bar indicator generated in bash and some automated min max alerting. Generated emails by TypeIt4Me utility inside Mac mail. Will break if not run on OSX.

storage_alert.sh

Used by TypeIt4Me in my email client to generate the form email.

Percentagebar.sh

This is called by storage_alert.sh to generate the percent full bars at any length required. Entering the percent full, and the desired lenght outputs:

$ ./percentagebar.sh 25 25

[=======___________________] 25% Full

$ ./percentagebar.sh 80 25

[=====================_____] 80% Full