[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting up monit with some "checks" unmonitored
From: |
Martin Pala |
Subject: |
Re: Starting up monit with some "checks" unmonitored |
Date: |
Mon, 6 Oct 2014 20:42:44 +0200 |
Hello,
you can use the "mode manual" ... in such case the service will be monitored
only if you enable the monitoring. Note that the monitoring state is persistent
(stored in the state file based on "set statefile" statement or ~/.monit.state
by default) => before stopping the system you should do "monit stop <service>".
If you want to reset the state after every reboot, you can set the statefile
path to memory based filesystem (e.g. /tmp/ is usually ramdisk).
Regards,
Martin
On 06 Oct 2014, at 17:52, Alain Kreienbuhl <address@hidden> wrote:
> Hello,
>
> Is there a way to specify that certains "checks" startup up as unmonitored ?
>
> Right now went I install a new server
> I start monit
> Unmonitor some service that are not up yet
>
> But before I have a chance to unmonitor these services, monit has already
> started some !
>
> Thanks for you help
>
> Alain
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general