--- 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 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 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?