Solved

track disk usage per directory over time - produce html report with graphs. - send warnings by email

Posted on 2010-11-12
7
705 Views
Last Modified: 2012-05-10
I'm looking for a solution to allow me to monitor disk usage of folders over time, and report on such, preferably with html output including a graph of size against time for each monitored directory.

it'd be useful if it emailed me when the disk got to 80% 90% and 99% usage, but that can be fairly easily scripted, so it's not an essential feature.

Ideally I'm looking for a FOSS solution. GPL or better (L-GPL, Apache, BSD) licensing is preferred.

thanks for looking :-)
0
Comment
Question by:Wibble_
7 Comments
 

Accepted Solution

by:
davidsaliba earned 125 total points
ID: 34123442
I believe this can help you with most of the things you need to monitor disk usage :
http://kdirstat.sourceforge.net/

enjoy

HTH
0
 

Author Comment

by:Wibble_
ID: 34123613
Aah, forgot to mention that this is a headless centos server.. so I really need something that can output a pdf or html

:-)

0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 125 total points
ID: 34124116
Is disk space the only thing you want to monitor?

I use Nagios in conjunction with PNP (which produces HTML and PDF graphs).
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 12

Assisted Solution

by:mccracky
mccracky earned 125 total points
ID: 34125468
I find it easiest to use snmp with cacti:

http://www.cacti.net/
http://forums.cacti.net/about35231.html
0
 
LVL 9

Assisted Solution

by:expert_tanmay
expert_tanmay earned 125 total points
ID: 34128849
du -h folder_path displays you the disk usage of all files and folders in folder_path.
df -h will display you used and available space in disk partitions.

You can cron du -h and direct the resuls to a file. Then use mutt [http://www.mutt.org/] a command line email client to mail you the file contents. Further use excel you can maintain a history as well as  create any type of graph you wish..

Cheers
0
 

Author Comment

by:Wibble_
ID: 34128862
I found monit (http://mmonit.com/monit/) which fills all the requirements and more (if you use the home folder plugin)

Thanks for the suggestions guys. I'll split the points, although monit is definately the way to go :-)
0
 

Author Closing Comment

by:Wibble_
ID: 34128865
Thanks for the suggestions guys. I'll split the points, although monit is definately the way to go :-)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question