[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 723
  • Last Modified:

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

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
Wibble_
Asked:
Wibble_
4 Solutions
 
davidsalibaCommented:
I believe this can help you with most of the things you need to monitor disk usage :
http://kdirstat.sourceforge.net/

enjoy

HTH
0
 
Wibble_Author Commented:
Aah, forgot to mention that this is a headless centos server.. so I really need something that can output a pdf or html

:-)

0
 
TintinCommented:
Is disk space the only thing you want to monitor?

I use Nagios in conjunction with PNP (which produces HTML and PDF graphs).
0
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
mccrackyCommented:
I find it easiest to use snmp with cacti:

http://www.cacti.net/
http://forums.cacti.net/about35231.html
0
 
expert_tanmayCommented:
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
 
Wibble_Author Commented:
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
 
Wibble_Author Commented:
Thanks for the suggestions guys. I'll split the points, although monit is definately the way to go :-)
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now