[Top][All Lists]

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

File kind presence

From: Simone D.
Subject: File kind presence
Date: Fri, 15 Jun 2012 23:17:31 +0200
User-agent: Postbox 3.0.3 (Macintosh/20120304)

is it possible for monit to check the existence of some file with particular extension?

For example:
i want to be sure that there isn't ANY file .txt in my directory /home/foo/ (and in its sub-directories). If there is at least one I want monit to alert me

Looking into docs I found the rule to check the existence of a specific file but i didn't find anythign about a "general rule".

Thank you very much,

reply via email to

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