Virtualmin has something like this already, got mailboxes and domains .. but
it relies on disk quotas, as running du on every domain's home dir would be
slow and put a lot of load on the disk.
It doesn't support monitoring of arbitrary directories though. But that would
be a good thing to add to the System and Server Status module, so you could get
an alert if usage exceeds some limit..
On 21/Oct/2009 01:59 Joaquim Homrighausen <joho@...> wrote ..
> Hello Jamie,
> please see this as a renewed request for this feature. I really think it
> does belong in Webmin, as much as other "status functions", etc. And
> hooking it into Virtualmin (optionally) makes sense too.
> We'll be happy to drop you guys an extra donation for the development of
> this functionality as it would provide us with out-of-the-box
> functionality in Webmin that we need.
> For the Virtualmin side of things, something like
> Disk space utilization report:
> Mail: nnnn GB
> Web: nnnn GB
> Home directory: nnnn GB
> with optional triggers to include a given site in a summary e-mail sent
> to us. We don't want to enforce quotas, but we want to know if we have a
> "renegade" user :-)
> The VM module could simply use the regular "directory utilization
> monitor" module (the one I'm also proposing :-).
> If this really really can't go into Webmin/Virtualmin, then I'll shut up
> about it.
> -------- Original Message --------
> Subject: [webmin-l] Common housekeeping and reporting module
> Date: Sun, 01 Mar 2009 00:40:58 +0100
> I think I've mentioned something like this before.. but what I'd like to
> accomplish is:
> 1) A report on disk usage on a per directory level, given a starting
> point. For VM servers, and for "any directory". Optionally to exclude
> the log, cgi-bin, awstats, or whatever directories I choose for VM style
> usage. Perhaps only trigger report if it exceeds NN space.
> 2) The ability to purge old files, given a starting directory (and then
> downwards). Old files being judged on mtime or atime, as configured
> (because ctime has nothing to do with how long the file has been there).
> Or is this something you feel is beyond the scope of Webmin and should
> rather be done using a shell script? :-)
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> Forwarded by the Webmin mailing list at webadmin-list@...
> To remove yourself from this list, go to