Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

991 lines
45 KiB

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:09:38Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_PMG</template>
<name>Template_App_PMG</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Email</name>
</application>
<application>
<name>pmg</name>
</application>
</applications>
<items>
<item>
<name>PMG: Global stats</name>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
<delay>15m</delay>
<history>1h</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Inbound email trafic</name>
<type>DEPENDENT</type>
<key>pmg.check[global,bytes_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.bytes_in</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Outbound email trafic</name>
<type>DEPENDENT</type>
<key>pmg.check[global,bytes_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.bytes_out</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Inbound emails</name>
<type>DEPENDENT</type>
<key>pmg.check[global,count_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.count_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Outbound email</name>
<type>DEPENDENT</type>
<key>pmg.check[global,count_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.count_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Pregreet rejections</name>
<type>DEPENDENT</type>
<key>pmg.check[global,pregreet]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.pregreet</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Inbound average processing time</name>
<type>DEPENDENT</type>
<key>pmg.check[global,ptime_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.ptime_in</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Outbound average processing time</name>
<type>DEPENDENT</type>
<key>pmg.check[global,ptime_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.ptime_out</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Emails in the active queue</name>
<type>DEPENDENT</type>
<key>pmg.check[global,queue_active]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.queue_active</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
</item>
<item>
<name>PMG: Emails in the deferred queue</name>
<type>DEPENDENT</type>
<key>pmg.check[global,queue_deferred]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.queue_deferred</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
</item>
<item>
<name>PMG: Emails in the hold queue</name>
<type>DEPENDENT</type>
<key>pmg.check[global,queue_hold]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.queue_hold</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<triggers>
<trigger>
<expression>{last()}&gt;0</expression>
<name>Quarantined emails</name>
<priority>WARNING</priority>
<description>Check hold queue with the mailq command then either release with postsuper -H &lt;ID&gt; or drop with postsuper -d &lt;ID&gt;</description>
</trigger>
</triggers>
</item>
<item>
<name>PMG: RBL rejections</name>
<type>DEPENDENT</type>
<key>pmg.check[global,rbl]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.rbl</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Inbound spams</name>
<type>DEPENDENT</type>
<key>pmg.check[global,spam_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.spam_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Outbound spam</name>
<type>DEPENDENT</type>
<key>pmg.check[global,spam_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.spam_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{max(1h)}&gt;0</expression>
<name>PMG: Outbound spam detected</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>PMG: Inbound viruses</name>
<type>DEPENDENT</type>
<key>pmg.check[global,virus_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.virus_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>PMG: Outbound viruses</name>
<type>DEPENDENT</type>
<key>pmg.check[global,virus_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.virus_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES}]</key>
</master_item>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{max(1h)}&gt;0</expression>
<name>PMG: Outbound viruses detected</name>
<priority>AVERAGE</priority>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Domains discovery</name>
<key>pmg.discovery[domains]</key>
<delay>7200</delay>
<item_prototypes>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN} Info</name>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
<delay>15m</delay>
<history>0</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Email</name>
</application>
<application>
<name>pmg</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Inbound trafic</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},bytes_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.bytes_in</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Outbound trafic</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},bytes_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.bytes_out</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Inbound emails</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},count_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.count_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Outbound emails</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},count_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.count_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain {#PMG_RELAY_DOMAIN}: Inbound average processing time</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},ptime_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.ptime_in</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Outbound average processing time</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},ptime_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.ptime_out</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Inbound spam</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},spam_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.spam_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Outbound spam</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},spam_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.spam_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{max(1800)}&gt;1</expression>
<name>PMG: {#PMG_RELAY_DOMAIN}: Outbound spam detected</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Inbound viruses</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},virus_in]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.virus_in</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>PMG Domain: {#PMG_RELAY_DOMAIN}: Outbound viruses</name>
<type>DEPENDENT</type>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},virus_out]</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Email</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.virus_out</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>4</params>
</step>
</preprocessing>
<master_item>
<key>pmg.check.all[{$PMG_FREQ},{$PMG_SPAM_THRES},domain,{#PMG_RELAY_DOMAIN}]</key>
</master_item>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{max(1800)}&gt;1</expression>
<name>PMG: {#PMG_RELAY_DOMAIN}: Outbound viruses detected</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>PMG: Domain {#PMG_RELAY_DOMAIN}: Email flows</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<color>DD0000</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},virus_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>FF33FF</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},spam_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>00DD00</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},count_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>0000DD</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},spam_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>000000</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},virus_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>00EEEE</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},count_out]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype>
<name>PMG: Domain {#PMG_RELAY_DOMAIN}: Trafic and processing time</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00DD00</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},bytes_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>FF9999</color>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},bytes_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>3333FF</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},ptime_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>DD0000</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_PMG</host>
<key>pve.check[domain,{#PMG_RELAY_DOMAIN},ptime_out]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$PMG_FREQ}</macro>
<value>900</value>
</macro>
<macro>
<macro>{$PMG_SPAM_THRES}</macro>
<value>5</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>PMG: Global email flows</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<color>FF6F00</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,virus_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>CE93D8</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,spam_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>6A1B9A</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,count_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>1A7C11</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,count_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>80FF00</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,spam_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>B71C1C</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,virus_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>0040FF</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,rbl]</key>
</item>
</graph_item>
<graph_item>
<sortorder>7</sortorder>
<color>90A4AE</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,pregreet]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>PMG: Global email trafic and processing time</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00DD00</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,bytes_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>FF9999</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,bytes_out]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>0000DD</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,ptime_in]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>DD0000</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,ptime_out]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>PMG: Global queues</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<color>81C784</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,queue_active]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>8E24AA</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,queue_hold]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>EC407A</color>
<item>
<host>Template_App_PMG</host>
<key>pmg.check[global,queue_deferred]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>