Skip to content

Commit

Permalink
Add AlertmanagerNotificationsFailing alert
Browse files Browse the repository at this point in the history
See #226 and #189
  • Loading branch information
darkk committed Oct 31, 2018
1 parent 1d1a22f commit e7a5b2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/roles/prometheus/files/alert_rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,11 @@ groups:
annotations:
summary: '`certbot` failed at {{ $labels.instance }}'
description: 'SSL cert for expires in {{ printf "%.0f" $value }} days.'

- name: Prometheus self-care
rules:
- alert: AlertmanagerNotificationsFailing
expr: rate(alertmanager_notifications_failed_total[1m]) > 0
annotations:
summary: 'Alertmanager {{ $labels.instance }} fails {{ $labels.integration }} notifications.'
...

0 comments on commit e7a5b2e

Please sign in to comment.