[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monitoring a directory's used space

From: Adam Wolfe
Subject: Re: monitoring a directory's used space
Date: Tue, 24 Jul 2012 22:28:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

dnotify has been replaced by inotify and incrontab. Both of which seem to not play friendly with variables.

Any other thoughts?

Is it possible to use monit's "check file" using wildcards? Say, something like:

"check file client-stuff with /path/to/file/* (or /path/to/file/partial-filname*?)
    if space > 0B
    then alert
    then exec my-sync-script"


Would that work or does monit not accept wildcards in the "check file" statement?

For anyone just now joining, I'm trying to monitor when files are placed in a directory and when they are, send an email then run a sync to an ftp for dev/client to pick up.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]