Skip to content

Commit

Permalink
added alerting for Unhealthy container count in DNS ECS cluster (#188)
Browse files Browse the repository at this point in the history
Co-authored-by: Jahir <[email protected]>
  • Loading branch information
juddin927 and juddin927 authored Aug 31, 2023
1 parent 444a838 commit e4a39d5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ spec:
summary: DNS ECS CPU or MemoryUtilization is above 60 percent
description: The Memory or CPU is currently {{ "{{ $value }}" }}
grafana_dashboard_url: https://monitoring-alerting.staff.service.justice.gov.uk/d/tm5gLH1Gz/bind-dns-metrics
- alert: DNS ECS Unhealthy container Alert
expr: aws_networkelb_un_healthy_host_count_sum{dimension_LoadBalancer=~\".+dns.+\",account_id="{{ .Values.production_account_id }}"} > 0
- alert: DNS ECS Unhealthy Container Alert
expr: aws_networkelb_un_healthy_host_count_sum{dimension_LoadBalancer=~".+dns.+",account_id="{{ .Values.production_account_id }}"} > 0
for: 5m
labels:
severity: critical
service: DNS DHCP
namespace: {{ .Release.Namespace }}
annotations:
summary: DNS ECS Unhealthy container is above 0
description: Unhealthy container count is currently {{ "{{ $value }}" }}
summary: DNS ECS Unhealthy Container is above 0
description: Unhealthy Container count is currently {{ "{{ $value }}" }}
grafana_dashboard_url: https://monitoring-alerting.staff.service.justice.gov.uk/d/tm5gLH1Gz/bind-dns-metrics
- alert: DNS ECS Task Count
expr: aws_ecs_containerinsights_running_task_count_average{dimension_ClusterName="staff-device-production-dns-cluster"} < 1
Expand Down

0 comments on commit e4a39d5

Please sign in to comment.