Hi Thorsten, thanks for report, the bug is fixed in the next Monit release.
Regards, Martin On Jul 24, 2013, at 12:36 AM, Thorsten Kampe <[email protected]> wrote: > Hi, > > monit 5.5.1 fails to start when the file in the check file directive > does not exist: > > checksum: file /home/user/.zshrcc is not regular file > /etc/monit/monitrc:165: Error: cannot compute a checksum for file > /home/user/.zshrcc '/home/user/.zshrcc' > ...fail! > > The man page says: > CHECK FILE <unique name> PATH <path> > > [...] If the file does not exist or disappeared, Monit will call the > entry's start method if defined, if <path> does not point to a regular > file type (for instance a directory), Monit will disable monitoring of > this entry. If Monit runs in passive mode or the start methods is not > defined, Monit will just send alerts on errors. > > So Monit should stop monitoring the file and not try to run any tests on > the non-existing file. > > Thorsten > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
