From 25a0f361f76215ebc81c615960d8d2e4249d6fb7 Mon Sep 17 00:00:00 2001 From: netkiller Date: Tue, 29 Nov 2016 14:34:41 +0800 Subject: [PATCH] add template --- postfix/README.md | 10 +- postfix/zbx_export_templates.xml | 854 +++++++++++++++++++++++++++++++ 2 files changed, 860 insertions(+), 4 deletions(-) create mode 100644 postfix/zbx_export_templates.xml diff --git a/postfix/README.md b/postfix/README.md index f6ad3d8..9ab9015 100644 --- a/postfix/README.md +++ b/postfix/README.md @@ -4,8 +4,10 @@ Zabbix for Postfix 3.2 Install agent ----- - # yum install -y logcheck + yum install -y logcheck + mkdir -p /srv/zabbix/libexec + wget https://raw.githubusercontent.com/oscm/zabbix/master/postfix/postfix -P /srv/zabbix/libexec + chmod +x /srv/zabbix/libexec/postfix - # mkdir -p /srv/zabbix/libexec - - \ No newline at end of file + wget https://raw.githubusercontent.com/oscm/zabbix/master/postfix/userparameter_postfix.conf -P /etc/zabbix/zabbix_agentd.d/ + zabbix_get -s 173.24.22.53 -k 'agent.ping' \ No newline at end of file diff --git a/postfix/zbx_export_templates.xml b/postfix/zbx_export_templates.xml new file mode 100644 index 0000000..20c8c53 --- /dev/null +++ b/postfix/zbx_export_templates.xml @@ -0,0 +1,854 @@ + + + 3.2 + 2016-11-29T06:33:43Z + + + Netkiller + + + Templates + + + + + + + + Postfix Log + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 2 + 0 + + Template App Postfix + postfix[log,refused] + + + + 1 + 0 + F63100 + 0 + 2 + 0 + + Template App Postfix + postfix[log,timeout] + + + + 2 + 0 + 2774A4 + 0 + 2 + 0 + + Template App Postfix + postfix[log,unreachable] + + + + + + Postfix Mail Queue + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 2 + 0 + + Template App Postfix + postfix[queue,active] + + + + 1 + 0 + F63100 + 0 + 2 + 0 + + Template App Postfix + postfix[queue,deferred] + + + + + + Postfix Mail Status + 900 + 200 + 0.0000 + 100.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 0 + 0 + 0 + 0 + + + 0 + 0 + 1A7C11 + 0 + 2 + 0 + + Template App Postfix + postfix[status,active] + + + + 1 + 0 + F63100 + 0 + 2 + 0 + + Template App Postfix + postfix[status,bounced] + + + + 2 + 0 + 2774A4 + 0 + 2 + 0 + + Template App Postfix + postfix[status,deferred] + + + + 3 + 0 + A54F10 + 0 + 2 + 0 + + Template App Postfix + postfix[status,expired] + + + + 4 + 0 + FC6EA3 + 0 + 2 + 0 + + Template App Postfix + postfix[status,sent] + + + + + +