This script is for putting in cron on remote servers. It does a df and mails root if a filesystem is over 80% full. (Naturally configurable, too).
Never let a server in your control fill up a file-system slowly over time again.
Attachment | Size |
---|---|
df-warn.py.txt | 4.22 KB |
Comments
You’ve been spambotted it
You’ve been spambotted it seems, pity. useful bit of code, thanks.
Yup
You don’t check the thing for a few days, and next thing you know, it’s full of spam. Akismet must have been down…
Post new comment