[Top][All Lists]

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

Re: cannot check files or directories that do not exists

From: Martin Pala
Subject: Re: cannot check files or directories that do not exists
Date: Sat, 06 Oct 2007 00:04:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1)


MosheC wrote:
Thanks. Can you point me to the relevant change in the code?

Jan-Henrik Haukeland wrote:
This has been discussed on the mailing list [1] recently and fixed in CVS. Will be part of the next monit release.

[1] msg00078.html

On 3. okt. 2007, at 01.31, Moshe Cohen wrote:

When I try to check for a file that does not exist I get:
/home/moshe/monitrc:30: Error: the path '/home/moshe/ff' used in the TIMESTAMP statement does not exist '/home/moshe/ff'

This is quite disturbing as many files that I would like to test against do not exists when i start Monit. Actually, Monit will indirectly cause them to be created.

I read the archives and saw this was reported a long time ago and the release notes for 4.8 include:

* Removed a feature introduced in 4.7 which tested that a
  check-file, check-directory or check-fifo actually refered
  to an existing object of that type. Monit should not require
  these file objects to exist at startup.

I am using 4.9 now and have the problem. I also tested 4.8 and 4.8.2 and the problem exists there too.

This is an example of usage:
check directory sbin with path /home/moshe/ff
        if changed timestamp
         then alert

TIA for any help

To unsubscribe:

reply via email to

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