Shell
You're viewing a free preview. Sign in free to read every script.
Why this exists A full disk causes odd failures far from the cause: databases stop, logs cannot be written, deployments fail half way. A small script that checks usage and tells you early is cheap insurance. This one…
Disk Usage Alert with Thresholds and a Slack Notification
Check every mounted filesystem against warning and critical thresholds, list the largest folders on a full disk, and post an alert to Slack with a safely built JSON message. Exits non-zero so cron and Jenkins notice.
Sign in free to read this script, along with the rest of the library.
Sign in free