monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Can I use monit to monitor file/directory removal?


From: Aleksander Kamenik
Subject: Re: [monit] Can I use monit to monitor file/directory removal?
Date: Fri, 09 Nov 2007 11:12:09 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

address@hidden wrote:

But i cannot find out the condition statement to checking for if a
directory is removed then execute the command to recreate it. Could
you please tell me more information?

I don't think there is a file exists check, but maybe you can use any of the other file checks like file content. Check a file inside the folder for example, I assume you'll get a failure when the file goes missing with it's directory.

And really, it's better to find out why your files are disappearing.

--
Aleksander Kamenik
system administrator
+372 6659 649
address@hidden

Krediidiinfo AS
http://www.krediidiinfo.ee/




reply via email to

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