Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

diskcheck

Posted in All on February 16th, 2005 · No Comments

Fedora Linux ships, among many, a very useful utility - diskcheck. This RPM installs only two files:

  • /etc/diskcheck.conf - small and asimple configuration file for the script
  • /etc/cron.hourly/diskcheck - the script itself

diskchek periodically (hourly, by default) checks free space on all partitions and sends a notification email to the administrator (root) reporting any partitions with less than 10% of free disk space. If all paritions have enough disk space it will just keep silent. Which partitions to check/skip, how much free disk space to consider as a warning point, and where to send the email - all of these can be easily tuned via the configuration file.

This tool, while being extremely small, provides a great service - proactive notification. Thing like this can solve lots and lots of headaches while troubleshooting strange behaviours.

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Note: This post is over 3 years old. You may want to check later in this blog to see if there is new information relevant to your comment.