[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 23:44:48 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

I've decided to go with a
"check directory client-stuff with path /yada/yada/
    if changed timestamp then alert
    if changed timestamp then exec my-sync-script"

This appears to be working exactly as I need it.
I tried using a
    "if changed timestamp then rsync /source/dir/* /dest/dir/"

but monit doesn't like wildcards (i.e. *) in the exec statement. Not too much hassle, really. Just confusing for a bit.

reply via email to

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