[Top][All Lists]

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

Re: [monit] Multiple Monit Processes on One Server

From: Christopher Opena
Subject: Re: [monit] Multiple Monit Processes on One Server
Date: Tue, 20 Jan 2009 23:49:43 -0800

Once again, thanks Martin!

On Tue, Jan 20, 2009 at 11:17 PM, Martin Pala <address@hidden> wrote:
Yes, it can.

Each monit instance generates unique persistent id which is used to pair the particular monit with given host entry in M/Monit, so each monit instance will have the it's own host entry in M/Monit.

You just need to separate configuration files and set pidfile and idfile for each instance (in case multiple instances on the same host are used):

For example:
 set pidfile /var/
 set idfile /var/

On Jan 21, 2009, at 7:04 AM, Christopher Opena wrote:

Hey all, back with another question:  I read through the documentation and didn't see anywhere that mentioned whether or not multiple monit agents could be run on one host with all of them reporting to the same M/Monit server.  My guess is it could so long as the .pids and other variables set in rc.monit are different and that each process has its own rc.monit (rc.monit.1, rc.monit.2, etc.).  I'll likely run off and try this tonight or tomorrow, but is there any reason I *shouldn't* do this?

Thanks again,
To unsubscribe:

To unsubscribe:

reply via email to

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