[Top][All Lists]

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

Re: Monitor multiple instances of a process

From: ChetanK
Subject: Re: Monitor multiple instances of a process
Date: Wed, 10 Nov 2010 11:22:57 -0800 (PST)

Thanks for the help. We are going to create symlinks with different names to
the one binary and launch each of the fake processes (created using symlinks
to the actual binary). We will configure monit to monitor these processes.
I think this should work.


Eric Pailleau wrote:
> Le 10/11/2010 09:33, Þórhallur Hálfdánarson a écrit :
>> I myself have just recently started playing with monit, for a very
>> similar scenario.  My suggestion would that you replace "process foo"
>> with "process foo0" and foo1.  This parameter doesn't have to have the
>> same name as the program you are checking, but rather a unique
>> identifier of the monitoring instance.
>> However, I believe you also need to pass or as an
>> argument to and, in order for the scripts to stop
>> the correct instance and write to the correct pidfile, respectively.
> Hello,
> You can add also a 'group foo' to all foo[0-9] rules.
> So you can start/stop/restart the whole whith one command :
> monit -g foo xxx
> regards.
> --
> To unsubscribe:

View this message in context:
Sent from the monit-general mailing list archive at

reply via email to

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