Merge "Change TEST_TESMPEST_* to TEST_*"
diff --git a/keepalived/cluster/instance/prometheus_server_vip.yml b/keepalived/cluster/instance/prometheus_server_vip.yml
index 7bde702..aea8b55 100644
--- a/keepalived/cluster/instance/prometheus_server_vip.yml
+++ b/keepalived/cluster/instance/prometheus_server_vip.yml
@@ -5,8 +5,15 @@
parameters:
_param:
keepalived_vip_priority: 101
+ keepalived_prometheus_vrrp_script_content: "pidof haproxy && docker service ls"
keepalived:
cluster:
+ vrrp_scripts:
+ vip:
+ content: ${_param:keepalived_prometheus_vrrp_script_content}
+ interval: 30
+ rise: 1
+ fall: 1
enabled: true
instance:
prometheus_server_vip:
@@ -15,4 +22,4 @@
interface: ${_param:keepalived_prometheus_vip_interface}
virtual_router_id: 105
priority: ${_param:keepalived_vip_priority}
-
+ track_script: vip