|
From: | Adam Wolfe |
Subject: | monitoring a directory's used space |
Date: | Tue, 24 Jul 2012 13:52:25 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
Or, failing that, I need to simply know when there are files in a directory, then I use exec to place them on a server where clients/devs can get to.
Anyone have any advice? I was using "check filesystem with path /yada/yada if space usage > 0 B then alert then exec"and that seemed to work but a "monit status" perpetually shows a failed check. It appears to be calculating the path leading up to the dir I am watching.
Again, just need to know when a file or files appear in a specific directory (that should always be empty) and then tun an exec.
[Prev in Thread] | Current Thread | [Next in Thread] |