[Top][All Lists]

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

Re: monit 4.7 and check file existence

From: Martin Pala
Subject: Re: monit 4.7 and check file existence
Date: Fri, 13 Jan 2006 10:02:12 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Jan-Henrik Haukeland wrote:

On 12. jan. 2006, at 20.48, P Holdaway wrote:

Monit 4.7 now requires the existence of a check file argument for a valid
syntax check?

Yes and the same test is also added for check-directory and check-fifo.

This then prevents monit running, and means the syntax of monitrc is
dependant on the run time environment.

Seems nasty.

Hmm I haven't thought about it like that. This was meant to be an extra check at startup to avoid a string of alerts at runtime if the file is not a file or not there. Mind that should the file disappear when monit is running you will get error alerts as usual and monit will of course not stop. This test is just done at startup.

Since your bring this up, I can see (now) a problem in cases such as if monit is automatically started at boot time you will want monit to start no matter what and that a missing file should not be a show- stopper.

Should we remove this extra test, what do others think?

I think it will be better to remove it ... in the case of problem, monit will detect it in the first cycle and can take corrective actions as configured (for example run 'restart' method which will fix the problem).


reply via email to

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