|
From: | Sergey Maslyakov |
Subject: | Re: Crash recovery |
Date: | Mon, 12 May 2014 09:52:08 -0500 |
yesOn 09 May 2014, at 22:39, Sergey Maslyakov <address@hidden> wrote:Thank you, Martin! From what I found in the source code afters seeing your response, Monit periodically scans the process list and performs pattern matching to determine whether a certain monitored service is running or not. It also checks whether the PID still exists.Am I on the right track?Regards,/Sergey--On Fri, May 9, 2014 at 11:02 AM, Martin Pala <address@hidden> wrote:
Hello,
if Monit is restarted it checks the current state of monitored services before it does any action - if the processes are running already, test is successful and no restart action is done (i.e. no second set of services).
Regards,
Martin
> --
On 09 May 2014, at 14:12, Sergey Maslyakov <address@hidden> wrote:
> Hello,
>
> What is the expected behavior of Monit daemon upon restart after a crash or other kind of abnormal termination? Is it capable of harvesting the process list for the processes started by the predecessor and taking ownership of monitoring them? Or does it just try to spawn a set of [duplicate] services?
>
>
> Thank you,
> /Sergey
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |