[Top][All Lists]

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

Re: [monit] About dependencies

From: Scott Silva
Subject: Re: [monit] About dependencies
Date: Thu, 01 Nov 2007 19:08:06 -0700
User-agent: Thunderbird (Windows/20070728)

on 11/1/2007 6:17 PM Lars Stavholm spake the following:
Hi all,

need a bit of advice on dependencies:

I've got three processes, A, B, and C. B and C depends on A
such that A must be running for B and C to be able to run,
and if A dies, B and C automatically looses connection and
dies, i.e. if A is restarted, B and C need not be restarted
(because they're already dead), but they do, however, need
to be started. I've tried to express this using the monit
depend statement, but it doesn't quite work.

check process A
  depends B
  depends C

Does anyone have any advice for me?
Is the above scenario at all possible to express in monit lingo?

Any input appreciated.

If anyone wonders, it's a piece of client/server software
called LCDproc, where the main process (A = LCDd) serves
an LC display, and B and C are clients connecting to A
to show off some status or similar on the display.


To unsubscribe:

Monitor process a and make the start command point to a shell script that starts the services in order.

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

reply via email to

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