1
0
Fork 0

Add postfix alert rule

This commit is contained in:
Malte Brandy 2020-12-01 02:38:22 +01:00
parent 6db8ce1d25
commit 2bd3d14a95
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -43,3 +43,9 @@ groups:
severity: warning
annotations:
description: "mountpoint {{ $labels.mountpoint }} on {{ $labels.name }} out of inodes."
- alert: mailq
expr: postfix_showq_message_age_seconds_sum > 300
for: 5m
labels:
severity: warning
description: "mail queue {{ $labels.queue }} on {{ $labels.instance }} has accumulated a waiting time of {{ $value }}s.