Solved

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

Posted on 2010-11-12
7
699 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Anti-Spam SMTP Proxy Server (@SSP) 7 48
linux crontab output 3 41
AD Replications issues 12 51
linux ssh 4 36
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Not many admins are aware that GPOs can be activated and deactivated time-based. Time to change that :)
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now