[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic q's abt monit 4.5.1

From: Martin Pala
Subject: Re: Basic q's abt monit 4.5.1
Date: Mon, 19 Sep 2005 22:15:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1

anuj agrawal wrote:
Another basic doubt....

MONIT wants the pid file(hence the pid of the process)
of the process which it wants to restart.Now, the pid
of the process is only generated when the process is
up and running...hence if the process is already up
then how does MONIT take the credit of starting the

If monit starts the process monitoring and the process referred to by the pidfile is already running, then monit will detect it and will not try to restart it.

In the case that the process pidfile changed between testing cycles and the process is realy running under new pid (for example because you restarted the service by hand), then monit will detect the change, send 'pid changed' alert and continue to monitor the process (it will not try to restart it in the case that all tests passed).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]