Add postfix alert rule
This commit is contained in:
parent
6db8ce1d25
commit
2bd3d14a95
1 changed files with 6 additions and 0 deletions
|
@ -43,3 +43,9 @@ groups:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
description: "mountpoint {{ $labels.mountpoint }} on {{ $labels.name }} out of inodes."
|
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.
|
||||||
|
|
Loading…
Reference in a new issue