A Slack App that monitors disk storage levels.
- Follow these instructions to create a Slack WebHook.
- Donwload and execute the bash script:
bash slack_storage_notifier.sh <webhook_url>
. Use the webhook URL generated from step 1 as a param to the script. Or, executebash slack_storage_notifier.sh
and store webhook URL under theSLACK_WEBHOOK_URL
environment variable.
Note: The machine name used in the slack message corresponds the the $HOSTNAME
environment variable.