contrib/kube-promeheus: Add AlertmanagerMembersInconsistent to manifests

This commit is contained in:
Matthias Loibl
2018-10-26 17:26:50 +02:00
parent 49835437f7
commit 29e876d023
2 changed files with 11 additions and 1 deletions

View File

@@ -961,6 +961,16 @@ spec:
for: 10m
labels:
severity: warning
- alert: AlertmanagerMembersInconsistent
annotations:
message: Alertmanager has not found all other members of the cluster.
expr: |
alertmanager_cluster_members{job="alertmanager-main"}
!= on (service)
count by (service) (alertmanager_cluster_members{job="alertmanager-main"})
for: 5m
labels:
severity: critical
- name: general.rules
rules:
- alert: TargetDown