Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kstka/zabbix-postfix-template.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouniverse <y0un1verse@yandex.ru>2019-03-21 19:15:21 +0300
committerYouniverse <y0un1verse@yandex.ru>2019-03-21 19:15:21 +0300
commit2b1f281321f92c63533a48cb1f66044c9bb3ce1e (patch)
treeb6d3fc622bd89e54436d6b28f19b3310fda45afe
parent2d3154130e0f0e594cc3e798c352dc77515c46f0 (diff)
Template updatedHEADmaster
-rw-r--r--README.md1
-rw-r--r--template_app_zabbix.xml13
2 files changed, 5 insertions, 9 deletions
diff --git a/README.md b/README.md
index 833cb70..7af17a4 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ Forked from http://admin.shamot.cz/?p=424
cp userparameter_postfix.conf /etc/zabbix/zabbix_agentd.d/
# run visudo as root
+ Defaults:zabbix !requiretty
zabbix ALL=(ALL) NOPASSWD: /usr/bin/zabbix-postfix-stats.sh
systemctl restart zabbix-agent
diff --git a/template_app_zabbix.xml b/template_app_zabbix.xml
index 1cd9345..eba3eab 100644
--- a/template_app_zabbix.xml
+++ b/template_app_zabbix.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.0</version>
- <date>2019-03-21T15:18:19Z</date>
+ <date>2019-03-21T16:14:38Z</date>
<groups>
<group>
<name>Templates</name>
@@ -28,7 +28,7 @@
<type>3</type>
<snmp_community/>
<snmp_oid/>
- <key>net.tcp.service[smtp,{$POSTFIX_SMTP_IP},25]</key>
+ <key>net.tcp.service[smtp]</key>
<delay>1m</delay>
<history>1w</history>
<trends>365d</trends>
@@ -912,12 +912,7 @@
</items>
<discovery_rules/>
<httptests/>
- <macros>
- <macro>
- <macro>{$POSTFIX_SMTP_IP}</macro>
- <value>{HOST.IP}</value>
- </macro>
- </macros>
+ <macros/>
<templates/>
<screens/>
</template>
@@ -1004,7 +999,7 @@
<tags/>
</trigger>
<trigger>
- <expression>{Template App Postfix:net.tcp.service[smtp,{$POSTFIX_SMTP_IP},25].max(#3)}=0</expression>
+ <expression>{Template App Postfix:net.tcp.service[smtp].max(#3)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>SMTP service is down on {HOST.NAME}</name>