[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit fails to start when check file does not exist
From: |
Martin Pala |
Subject: |
Re: Monit fails to start when check file does not exist |
Date: |
Tue, 27 Aug 2013 17:21:47 +0200 |
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 <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Monit fails to start when check file does not exist,
Martin Pala <=