|Subject:||RE: Problem starting my monit|
|Date:||Wed, 16 May 2012 14:21:47 +0800|
Ok let me explain how I start. I normally start either with /etc/init.d/monit start or service monit start. So I guess this way to start is correct right. The problem now is that when I do monit quit it does not restart it? So what could be missing here then? So is wrong to use monit quit is it? What if some one go use monit quit then it will not re-start again is it? So in real life scenario what could stop or kill the monit? Will those possible will be re-start with upstart? Thank you.
Subject: Re: Problem starting my monit
Date: Wed, 16 May 2012 08:13:50 +0200
if you configure monit with Upstart and you want to stop monit, you have to do:
If you stop monit with "monit quit", Upstart will see that the monitored process (monit) stopped and will restart it. To stop it you need to notify the daemon which manages the process (in this case Upstart) that you want to stop it. The management of services configured in monit is the same - if you stop it without letting monit know ("monit stop <service>") then monit will think the process is broken and will restart it.
That is: if you start monit either via init, Upstart or some other process monitoring tool, you can no longer use "monit quit".
On May 16, 2012, at 6:29 AM, sukbir singh wrote:
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
|[Prev in Thread]||Current Thread||[Next in Thread]|