DF Warn

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.

AttachmentSize
df-warn.py.txt4.22 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.