Add nagios_host dimension and fix alerting property
diff --git a/haproxy/meta/heka.yml b/haproxy/meta/heka.yml
index a1f236e..050a887 100644
--- a/haproxy/meta/heka.yml
+++ b/haproxy/meta/heka.yml
@@ -96,6 +96,7 @@
alarm_cluster:
haproxy_check:
policy: majority_of_members
+ alerting: enabled_with_notification
match:
service: haproxy
group_by: hostname
@@ -103,9 +104,11 @@
- haproxy_check
dimension:
cluster_name: haproxy-openstack
+ nagios_host: 00-top-clusters
{%- for listen_name, listen in proxy.listen.iteritems() if listen.get('check', True) %}
{{ listen_name }}:
policy: highest_severity
+ alerting: enabled
match:
backend: {{ listen_name }}
members:
@@ -115,6 +118,7 @@
{%- endif %}
dimension:
service: {{ listen.service_name|default(listen_name) }}
+ nagios_host: 01-service-clusters
{%- endfor %}
{%- endif %}