monit-general
[Top][All Lists]
Advanced

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

Re: Is this a bug with dependent services?


From: Martin Pala
Subject: Re: Is this a bug with dependent services?
Date: Wed, 03 Jan 2007 23:24:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061105 Iceape/1.0.6 (Debian-1.0.6-1)

Monit currently doesn't prevent the dependants from starting - the current dependency chain just ensures correct startup sequence.

We plan to improve it in the future.

Martin


Alexey Zilber wrote:
Hello,

  I have something like this setup:

---
check process apache
        with pidfile /var/run/httpd.pid
        start program = "/etc/init.d/httpd start"
        stop program  = "/etc/init.d/httpd stop"
        mode manual
group node2

check host http1 with address 192.168.1.25 <http://192.168.1.25>
if failed port 80 for 3 times within 3 cycles then exec "/usr/lib/heartbeat/hb_standby"
        depends on apache
        mode active
group node2

check host http2 with address 192.168.1.26 <http://192.168.1.26>
if failed port 80 for 3 times within 3 cycles then exec "/usr/lib/heartbeat/hb_standby"
        depends on apache
        mode active
group node2
---
The problem is that even though the 2 checks are dependent on apache, they continue doing their checks even when apache has not been started. Can anyone confirm the proper behavior for this? I want the two checks to 'follow' the apache status.. is this possible?

-Alex


------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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