diff --git a/roles/prometheus/templates/alert.rules.yml.j2 b/roles/prometheus/templates/alert.rules.yml.j2 index e6f10ce..97d5e22 100644 --- a/roles/prometheus/templates/alert.rules.yml.j2 +++ b/roles/prometheus/templates/alert.rules.yml.j2 @@ -10,7 +10,7 @@ groups: rules: - alert: InstanceDown - expr: up == 0 + expr: up{instance!~".*.borne.auro.re$"} == 0 for: 3m labels: severity: critical @@ -18,6 +18,15 @@ groups: summary: >- Invisible depuis plus de 3 minutes + - alert: AccessPointDown + expr: up{instance=~".*.borne.auro.re$"} == 0 + for: 3m + labels: + severity: warning + annotations: + summary: >- + Invisible depuis plus de 3 minutes + - alert: OutOfMemory expr: >- (