1
0
Fork 0
forked from infra/ansible

Zabbix: Improve Postfix queue trigger/recovery

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-05-12 13:54:35 +01:00
commit 05b94d7029
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0

View file

@ -1,7 +1,7 @@
zabbix_export:
version: '7.0'
template_groups:
- uuid: 372f19ba622745aaa43b4fa0b5168262
- uuid: a333cbd6a3ad44baaa4eee4b0c0b1bec
name: Fedora
templates:
- uuid: 76985efe0ea1479aa3d24a0a2c64e6d2
@ -21,7 +21,9 @@ zabbix_export:
value: queue
triggers:
- uuid: cc9ff19b502940af950215a931ee4079
expression: 'monoinc(/Postfix Mail Queue/postfix.queue,15m,"weak")=0 and last(/Postfix Mail Queue/postfix.queue)>{$POSTFIX.QUEUE.WARN}'
expression: 'monoinc(/Postfix Mail Queue/postfix.queue,15m,"strict")=1 and last(/Postfix Mail Queue/postfix.queue)>{$POSTFIX.QUEUE.WARN}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'monoinc(/Postfix Mail Queue/postfix.queue,15m,"strict")=0 and last(/Postfix Mail Queue/postfix.queue)<{$POSTFIX.QUEUE.WARN}'
name: 'Postfix: increasing mails in mailq - {ITEM.LASTVALUE1} queued'
opdata: '{ITEM.LASTVALUE1} mails queued'
priority: HIGH