Add nagios_host dimension for alarm_cluster

And fixes the alerting property.

Change-Id: I3976561a659cdaf6e8bbcbef82bd8a765b748804
This commit is contained in:
Swann Croiset 2016-11-23 10:58:48 +01:00
parent 84dd4c9b68
commit b6f329522d
1 changed files with 14 additions and 2 deletions

View File

@ -106,13 +106,13 @@ remote_collector:
function: last
alarm:
heat_api_check:
alerting: true
alerting: enabled
triggers:
- heat_api_check_failed
dimension:
service: heat-api-check
heat_cfn_api_check:
alerting: true
alerting: enabled
triggers:
- heat_cfn_api_check_failed
dimension:
@ -121,6 +121,7 @@ aggregator:
alarm_cluster:
heat_logs:
policy: highest_severity
alerting: enabled
group_by: hostname
match:
service: heat-logs
@ -128,8 +129,10 @@ aggregator:
- heat_logs
dimension:
service: heat
nagios_host: 01-service-clusters
heat_api_endpoint:
policy: availability_of_members
alerting: enabled
group_by: hostname
match:
service: heat-api-endpoint
@ -137,8 +140,10 @@ aggregator:
- heat_api_endpoint
dimension:
service: heat
nagios_host: 01-service-clusters
heat_cfn_api_endpoint:
policy: availability_of_members
alerting: enabled
group_by: hostname
match:
service: heat-cfn-api-endpoint
@ -146,24 +151,30 @@ aggregator:
- heat_cfn_api_endpoint
dimension:
service: heat
nagios_host: 01-service-clusters
heat_api_check:
policy: highest_severity
alerting: enabled
match:
service: heat-api-check
members:
- heat_api_check
dimension:
service: heat
nagios_host: 01-service-clusters
heat_cfn_api_check:
policy: highest_severity
alerting: enabled
match:
service: heat-cfn-api-check
members:
- heat_cfn_api_check
dimension:
service: heat
nagios_host: 01-service-clusters
heat:
policy: highest_severity
alerting: enabled_with_notification
match:
service: heat
members:
@ -174,4 +185,5 @@ aggregator:
- heat_cfn_api_check
dimension:
cluster_name: heat
nagios_host: 00-top-clusters
{%- endif %}