This is not possible with Monit’s ‘check directory’ (it would be a nice thing 
to add in the future though). One way to do this now is to use ‘check program’ 
with ‘/usr/bin/du -s <dir>’ and return a status accordingly to if a threshold 
was reached or not


> On 05 Mar 2015, at 16:11, Kizito Porta Balanyà <[email protected]> wrote:
> 
> Hello,
> 
> Any hint to monitor the size of a directory?
> 
> Googling about it doesn't return anything that I like.
> 
> 
> Thanks a lot for your time.
> 
> Regards.
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to