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] + + + + + +