[Top][All Lists]

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

Re: [monit] Remote failure triggers local program

From: Martin Pala
Subject: Re: [monit] Remote failure triggers local program
Date: Wed, 03 Dec 2008 20:34:38 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20081030 Iceape/1.1.13 (Debian-1.1.13-1)

If the remote program can be remotely monitored (for example it is listening on some port and providing service), you can use host check:

  check host myhost with address
    if failed port 1234 then exec "/foo/bar start"

If the remote program is not providing any network service, then the monit instance running on remote host could trigger action for local monit host via http interface.

We'll also support calling actions on other monit agents when some event occurred on one monit agent via M/Monit ( It supports rules where it will be possible to say that if for example "oracle" failed on host "a" then start "oracle" on host "b".


Dimitri Yioulos wrote:
Hi, all.

I'd like to be able to fire off a local program only if a remote program goes down. How do I set up monit to do this?



reply via email to

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