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?