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

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

Seems nasty.


For example,

monitrc
############################################

check file no_such_file with path "/foo/bar/no_such_file"

check file passwd with path "/etc/passwd"

############################################

Under monit 4.6...

/opt/technocom/SOL_5_8_SPC/pkgs/monit-4.6/bin/monit -t -c /root/monitrc
Control file syntax OK

Under monit 4.7...

/opt/technocom/SOL_5_8_SPC/pkgs/monit-4.7/bin/monit -t -c /root/monitrc 
/root/monitrc:2: Error: The path in a check file test must point to a file
'"/foo/bar/no_such_file"'


Cheers,

  Peter



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to