diff --git a/roles/prometheus/templates/prometheus/alert.rules.yml.j2 b/roles/prometheus/templates/prometheus/alert.rules.yml.j2 index b3722096..6dcb776b 100644 --- a/roles/prometheus/templates/prometheus/alert.rules.yml.j2 +++ b/roles/prometheus/templates/prometheus/alert.rules.yml.j2 @@ -151,7 +151,7 @@ groups: summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}." - alert: AptOrphans - expr: apt_orphans > 0 + expr: apt_orphans > 1 for: 5m labels: severity: warning