[Top][All Lists]

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

Re: [monit] Multiple instances of Monit on one machine

From: Moshe Cohen
Subject: Re: [monit] Multiple instances of Monit on one machine
Date: Fri, 12 Sep 2008 15:39:48 +0300

But that does not discuss where you can and where you cannot place your own lock files (the -p argument)

On Fri, Sep 12, 2008 at 3:35 PM, Jan-Henrik Haukeland <address@hidden> wrote:
The Monit pid-file is discussed briefly here

On 12. sep.. 2008, at 13.58, Moshe Cohen wrote:

After some further playing around, I noticed that the default file is placed in the home directory (which just happened to be my current directory).
Stating the file as ~/xxx   works.

What are the exact rules for legal lock files ?

On Fri, Sep 12, 2008 at 2:07 PM, Moshe Cohen <address@hidden> wrote:

Followup question:

starting monit regularly (no -p) works and creates a file in the current directory
starting another instance with "-p xxx" fails and the log says there is no permission to create the file.  ( -p /tmp/xxx works, though. )

How come the default PID file is created but the specified one has no permission - both on same current directory ?


On Fri, Sep 12, 2008 at 7:58 AM, Jan-Henrik Haukeland <address@hidden> wrote:
Just specify a different pidfile using the -p switch to Monit

On 11. sep.. 2008, at 22.59, Moshe Cohen wrote:

How can I run more than one instances of Mon it on the same machine?

Currently, starting a new Monit instance just awakens the existing daemon of the existing instance.


To unsubscribe:

To unsubscribe:

To unsubscribe:

reply via email to

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