[prometheus] Add rule to warn on big mailq

certbot_on_virtu
Alexandre Iooss 2020-01-31 12:53:57 +01:00
parent 0c8aa9c103
commit 5cfc5cc14f
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 8 additions and 0 deletions

View File

@ -159,6 +159,14 @@ groups:
annotations:
summary: "{{ $value }} paquet(s) APT sont inutile(s) sur {{ $labels.instance }}."
- alert: MailqNotEmpty
expr: postfix_mailq_length > 5
for: 1m
labels:
severity: warning
annotations:
summary: "{{ $value }} mails dans la mailq sur {{ $labels.instance }}."
# NTP (need NTP plugin in node)
# - alert: ntp_drifting
# expr: node_ntp_drift_seconds > 0.05