zabbix_templates/Template App Postfix.yaml

318 lines
9.7 KiB
YAML

zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: e5cc2a8a065c4272866ee0277ccc417f
template: 'Template App Postfix'
name: 'Template App Postfix'
groups:
- name: Templates
items:
- uuid: c39bb96edc4949ec8d4870b46fbda929
name: 'Port 25/SMTP is running'
type: SIMPLE
key: 'net.tcp.service[smtp]'
request_method: POST
triggers:
- uuid: 2c8a65a4507f40d098f388b01fbb579e
expression: 'last(/Template App Postfix/net.tcp.service[smtp])<>1'
name: 'SMTP Service is down on {HOST.NAME}'
priority: HIGH
- uuid: b5fa080b20e2420c8dab14c671186fa6
name: 'Postfix Mail Queue'
key: postfix.pfmailq
delay: 5m
history: 30d
units: mails
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: 7e61ac55a28c4af38b1bf5eca24e4d00
expression: 'last(/Template App Postfix/postfix.pfmailq)>400'
name: 'Postfix: Too many mails in mail queue on {HOST.NAME}'
priority: AVERAGE
- uuid: 47e0dfc8d07b4c989cef45d1fb73f7ce
expression: 'last(/Template App Postfix/postfix.pfmailq)>1000'
name: 'Postfix: Waaaay too many mails in mail queue on {HOST.NAME}'
priority: DISASTER
- uuid: 7cd3ee0f095745479f41a130f9f4d0fe
name: 'Postfix Bounced'
key: 'postfix[bounced]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: ab1160bd66b24df2bcde8331f7e05e2c
expression: 'last(/Template App Postfix/postfix[bounced])>50'
name: 'Postfix: Too many bounced mails on {HOST.NAME}'
priority: WARNING
- uuid: 2bd4be03b4594fa1b9164c457945314c
name: 'Postfix Bytes Delivered'
key: 'postfix[bytes_delivered]'
delay: '5'
history: 30d
units: B
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 58cdfb43b842476d8b2e00043055a574
name: 'Postfix Bytes Received'
key: 'postfix[bytes_received]'
delay: 10m
history: 30d
units: B
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: bb47ae2f75a74a3d8dc91e01a3f748b3
name: 'Postfix Deferred'
key: 'postfix[deferred]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: f6b29344b2a1463f8e1e8754dbf64fbc
expression: 'last(/Template App Postfix/postfix[deferred])>50'
name: 'Postfix: Too many deferred mails on {HOST.NAME}'
priority: HIGH
- uuid: a216b3ef611143dab8b82bc16c8e30f0
name: 'Postfix Delivered'
key: 'postfix[delivered]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 1d8d84e7ef164558b159efd2a88f402a
name: 'Postfix Discarded'
key: 'postfix[discarded]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: dc6e94bf570c4028b82fad8d23ff4a41
name: 'Postfix Forwarded'
key: 'postfix[forwarded]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 0cf6423c8e0140d0916b337480b146e2
name: 'Postfix Held'
key: 'postfix[held]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: ae21f25514ef4d1b9271ed891a332493
expression: 'last(/Template App Postfix/postfix[held])>100'
name: 'Postfix: Too many held mails in mail queue on {HOST.NAME}'
priority: WARNING
- uuid: a956a25859c541cf8e383775dbb94a62
name: 'Postfix Received'
key: 'postfix[received]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 6f5fd2fa88ae42a38598e23ffa82e778
name: 'Postfix Rejected'
key: 'postfix[rejected]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
- uuid: 55da764ec6d84e74a7dd2a221f3fafbb
name: 'Postfix Reject Warnings'
key: 'postfix[reject_warnings]'
delay: 10m
history: 30d
units: mails
preprocessing:
- type: SIMPLE_CHANGE
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: Postfix
triggers:
- uuid: b8d8d224c132410fbadb7cc751bb5440
expression: 'last(/Template App Postfix/postfix[rejected])>60 or last(/Template App Postfix/postfix[reject_warnings])>60'
name: 'Postfix: Too many rejected mails on {HOST.NAME}'
priority: HIGH
graphs:
- uuid: b623609c08684947935db8eb6b92fb8d
name: 'Postfix Error Pie'
yaxismax: '0'
show_work_period: 'NO'
show_triggers: 'NO'
type: EXPLODED
show_3d: 'YES'
graph_items:
- color: C80000
item:
host: 'Template App Postfix'
key: 'postfix[bounced]'
- sortorder: '1'
color: 00C800
item:
host: 'Template App Postfix'
key: 'postfix[deferred]'
- sortorder: '2'
color: 0000C8
item:
host: 'Template App Postfix'
key: 'postfix[discarded]'
- sortorder: '3'
color: C800C8
item:
host: 'Template App Postfix'
key: 'postfix[rejected]'
- sortorder: '4'
color: 00C8C8
item:
host: 'Template App Postfix'
key: 'postfix[reject_warnings]'
- uuid: 913c1703abdf43db8f840051e7e23d2f
name: 'Postfix Mails Scoreboard'
height: '300'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: '009900'
item:
host: 'Template App Postfix'
key: 'postfix[bounced]'
- sortorder: '1'
color: FF99FF
item:
host: 'Template App Postfix'
key: 'postfix[reject_warnings]'
- sortorder: '2'
color: AAAA00
item:
host: 'Template App Postfix'
key: postfix.pfmailq
- sortorder: '3'
color: EE00EE
item:
host: 'Template App Postfix'
key: 'postfix[discarded]'
- sortorder: '4'
color: '880088'
item:
host: 'Template App Postfix'
key: 'postfix[rejected]'
- sortorder: '5'
color: 0000CC
item:
host: 'Template App Postfix'
key: 'postfix[received]'
- sortorder: '6'
color: FF6666
item:
host: 'Template App Postfix'
key: 'postfix[held]'
- sortorder: '7'
color: FFFF33
item:
host: 'Template App Postfix'
key: 'postfix[forwarded]'
- sortorder: '8'
color: 00EE00
item:
host: 'Template App Postfix'
key: 'postfix[delivered]'
- sortorder: '9'
color: EE0000
item:
host: 'Template App Postfix'
key: 'postfix[deferred]'
- uuid: 4481f1f55f1f465ab51994f9bd2ed575
name: 'Postfix Traffic'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: C80000
item:
host: 'Template App Postfix'
key: 'postfix[bytes_received]'
- sortorder: '1'
color: 00C800
item:
host: 'Template App Postfix'
key: 'postfix[bytes_delivered]'