Warn when orphans packages are present

certbot_on_virtu
Alexandre Iooss 2020-01-19 18:57:38 +01:00
parent e55bef009a
commit c26294b0a5
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 8 additions and 0 deletions

View File

@ -150,6 +150,14 @@ groups:
annotations: annotations:
summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}." summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}."
- alert: AptOrphans
expr: apt_orphans > 0
for: 5m
labels:
severity: warning
annotations:
summary: "{{ $value }} paquet(s) APT sont orphelin(s) sur {{ $labels.instance }}."
# NTP (need NTP plugin in node) # NTP (need NTP plugin in node)
# - alert: ntp_drifting # - alert: ntp_drifting
# expr: node_ntp_drift_seconds > 0.05 # expr: node_ntp_drift_seconds > 0.05