forked from infra/ansible
Zabbix: Improve Postfix queue trigger/recovery
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
55a7c1c9f9
commit
05b94d7029
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue