|
From: | Alexey Zilber |
Subject: | Re: Is this a bug with dependent services? |
Date: | Thu, 4 Jan 2007 11:02:29 -0500 |
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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |