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 <[email protected]> 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 <[email protected]> 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
