Auto Monitor New Users Or Directories

Lorne Wanamaker <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CAEBAV9ppOsN2nHAzykLeyeO62aBkaDEqUz_XLrz-vADrWXjtTA@mail.gmail.com>
Hi,

I have a server where new directories are created automatically in /var/www
/htmleach of these contains a site and is attached to a new system user
also created at the same time.

I do not have a way to limit these directories for disk use, so would like
to be able to monitor them for size and alert if they go over lets say 1GB.
Thing is I cannot be creating a new rule in monit for every new user or
directory.

I can't find anything on how I might accomplish this. Has anybody done
anything similar with monit and mind sharing an example?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.