[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit] What if monit is already in initializing mode ?
From: |
Martin Pala |
Subject: |
Re: [monit] What if monit is already in initializing mode ? |
Date: |
Tue, 9 Mar 2010 22:56:51 +0100 |
you can set start program timeout like this:
start program = "..." with timeout 120 seconds
if process will not start within that time frame, then monit will try to
restart it again (unless timeout statement is used to unmonitor it)
Regards,
Martin
On Mar 8, 2010, at 10:44 AM, opeled wrote:
> Hey,
> I'm having a problem with monit in cases that the service takes long to come
> up (antivirus) something like a minute or two,
> monit status sometimes reports the service as "Does not exist", i don't know
> if it's a bug, but i'm writing a bash script to check if the service is up
> and if not manually run "monit -g GroupName start"
> but what if the service is already in INITIALIZING mode? will it stop what
> it's doing and re-run the start script (which always calls stop function
> before it tries to start the service), or will it ignore the call.
>
> Very odd, i know.
>
> Best regards
> Ofer Peled.
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general