<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>6.0</version>
    <date>2024-04-17T15:34:29Z</date>
    <groups>
        <group>
            <uuid>7df96b18c230490a9a0a9e2307226338</uuid>
            <name>Templates</name>
        </group>
    </groups>
    <templates>
        <template>
            <uuid>4b2b28c8d7b04616bd37adde2caf385f</uuid>
            <template>Template DPI</template>
            <name>Template DPI</name>
            <groups>
                <group>
                    <name>Templates</name>
                </group>
            </groups>
            <items>
                <item>
                    <uuid>4ec5633e116f43129ad85d08b87e7545</uuid>
                    <name>Drops on interface 01-00.0</name>
                    <key>dpi.01-00.0.drops</key>
                    <delay>30</delay>
                    <units>packets</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>5c28dc1b3f0c4bdcb6ca970bf626f8de</uuid>
                    <name>Incoming traffic processed on interface 01-00.0</name>
                    <key>dpi.01-00.0.in</key>
                    <delay>30</delay>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>9650d144ad7f4007840275009273d68e</uuid>
                    <name>Outgoing traffic processed on interface 01-00.0</name>
                    <key>dpi.01-00.0.out</key>
                    <delay>30</delay>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>16557a55b1cb4e83b8d98fa211c28a8b</uuid>
                    <name>Drops on interface 02-00.0</name>
                    <key>dpi.02-00.0.drops</key>
                    <delay>30</delay>
                    <units>packets</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>aaf7f53bea09438d96dc655213a8e246</uuid>
                    <name>Incoming traffic processed on interface 02-00.0</name>
                    <key>dpi.02-00.0.in</key>
                    <delay>30</delay>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>b18deb807cc54bcfa5e89d5b175a78a9</uuid>
                    <name>Outgoing traffic processed on interface 02-00.0</name>
                    <key>dpi.02-00.0.out</key>
                    <delay>30</delay>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>bdf9ac90b61f41aaae063584fd7523ce</uuid>
                    <name>Non legetim Drops in 01-00.0</name>
                    <key>dpi.if.01-00.0.non_leg_drop</key>
                    <delay>30</delay>
                    <description>Non legetim drops in 01-00.0 interface.
Bad drops....</description>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <triggers>
                        <trigger>
                            <uuid>834130957c494986a0a3332aebdcf30a</uuid>
                            <expression>min(/Template DPI/dpi.if.01-00.0.non_leg_drop,5m)&gt;{$QDROPS_NUM}</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>max(/Template DPI/dpi.if.01-00.0.non_leg_drop,5m)&lt;{$QDROPS_NUM}*0.8</recovery_expression>
                            <name>Non legetim Drops in 01-00.0</name>
                            <opdata>errors in: {ITEM.LASTVALUE1}</opdata>
                            <priority>WARNING</priority>
                            <description>It recovers when it is below 80% of the `01-00.0` threshold.</description>
                            <manual_close>YES</manual_close>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>e834ac1cb8f24c13a1c6ad842757754e</uuid>
                    <name>Non legetim Drops in 02-00.0</name>
                    <key>dpi.if.02-00.0.non_leg_drop</key>
                    <delay>30</delay>
                    <description>Non legetim drops in 02-00.0  interface.
Bad drops....</description>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <triggers>
                        <trigger>
                            <uuid>bd8e3af64d04494bbd9d867aef7fe54c</uuid>
                            <expression>min(/Template DPI/dpi.if.02-00.0.non_leg_drop,5m)&gt;{$QDROPS_NUM}</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>max(/Template DPI/dpi.if.02-00.0.non_leg_drop,5m)&lt;{$QDROPS_NUM}*0.8</recovery_expression>
                            <name>Non legetim Drops in 02-00.0</name>
                            <opdata>errors in: {ITEM.LASTVALUE1}</opdata>
                            <priority>WARNING</priority>
                            <description>It recovers when it is below 80% of the `02-00.0` threshold.</description>
                            <manual_close>YES</manual_close>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>5dcaf4de3ebc4e4e896346659e2f0d0b</uuid>
                    <name>IPv4 alloc mem for flows</name>
                    <key>dpi.ip.ipv4.flows.alloc</key>
                    <delay>30</delay>
                    <units>flows</units>
                    <description>Total num flows allocated in config</description>
                </item>
                <item>
                    <uuid>19e840d6f09d4f78b9e0c4738c723ecd</uuid>
                    <name>IPv4 flows used</name>
                    <key>dpi.ip.ipv4.flows.used</key>
                    <delay>30</delay>
                    <units>flows</units>
                    <description>allocate ipv4 flows</description>
                </item>
                <item>
                    <uuid>412d4dcc329c40b980fdd3b4c89d4823</uuid>
                    <name>percent used ipv4 flows</name>
                    <type>CALCULATED</type>
                    <key>dpi.ip.ipv4.flows.used.percent</key>
                    <delay>30</delay>
                    <params>((last(/km_dpi_1/dpi.ip.ipv4.flows.alloc)-last(/km_dpi_1/dpi.ip.ipv4.flows.used))/last(/km_dpi_1/dpi.ip.ipv4.flows.alloc))*100</params>
                    <triggers>
                        <trigger>
                            <uuid>1334bf3ba5a84a72ad6da4f0fbcd2723</uuid>
                            <expression>last(/Template DPI/dpi.ip.ipv4.flows.used.percent)&lt;10</expression>
                            <name>Used 90 percent allowd container for ipv4 flows on {HOST.NAME}</name>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>000bb6d26c884c54b556d6e63db44270</uuid>
                    <name>IPv6 alloc mem for flows</name>
                    <key>dpi.ip.ipv6.flows.alloc</key>
                    <delay>30</delay>
                    <units>flows</units>
                    <description>Total ipv6 num flows allocated in config</description>
                </item>
                <item>
                    <uuid>2df876b8609b4d3486bb76918e7a6266</uuid>
                    <name>IPv6 flows used</name>
                    <key>dpi.ip.ipv6.flows.used</key>
                    <delay>30</delay>
                    <units>flows</units>
                    <description>allocate ipv6 flows</description>
                </item>
                <item>
                    <uuid>7922a411ec824f86826235da3b8b5723</uuid>
                    <name>percent used ipv6 flows</name>
                    <type>CALCULATED</type>
                    <key>dpi.ip.ipv6.flows.used.percent</key>
                    <delay>30</delay>
                    <params>((last(/km_dpi_1/dpi.ip.ipv6.flows.alloc)-last(/km_dpi_1/dpi.ip.ipv6.flows.used))/last(/km_dpi_1/dpi.ip.ipv6.flows.alloc))*100</params>
                    <triggers>
                        <trigger>
                            <uuid>beb61e4072a742cb90758c812aa1f6dd</uuid>
                            <expression>last(/Template DPI/dpi.ip.ipv6.flows.used.percent)&lt;10</expression>
                            <name>Used 90 percent allowd container for ipv6 flows on {HOST.NAME}</name>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>0ce3e0857c6b453c9d1a68be60f160af</uuid>
                    <name>IPs blocked</name>
                    <key>dpi.ip.lock</key>
                    <delay>30</delay>
                    <units>ip</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>90929d79bbae4fa5b27271e8fc577d32</uuid>
                    <name>Users in Authenticate State</name>
                    <key>dpi.session.auth</key>
                    <delay>15</delay>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Users</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>25d17e6a85b84a29ab553dd235d5ac5f</uuid>
                    <name>Users in Network State</name>
                    <key>dpi.session.network</key>
                    <delay>15</delay>
                    <value_type>FLOAT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Users</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>2e2dbf6e67494aa5908c4a5d4032376e</uuid>
                    <name>CNames blocked</name>
                    <key>dpi.ssl.lock</key>
                    <delay>30</delay>
                    <units>cnames</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>c658631f7faf41e1b75fd3036d9a4619</uuid>
                    <name>CNames processed</name>
                    <key>dpi.ssl.proc</key>
                    <delay>30</delay>
                    <units>cnames</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>c60c0226a0b5464e975d99d461bec383</uuid>
                    <name>URLs blocked</name>
                    <key>dpi.url.lock</key>
                    <delay>30</delay>
                    <units>urls</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>d24bc561fcf54871a2585bfc765b285a</uuid>
                    <name>URLs processed</name>
                    <key>dpi.url.proc</key>
                    <delay>30</delay>
                    <units>urls</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>93d161a575d740b1bc0af0dd00648bf6</uuid>
                    <name>Maximum number of opened files</name>
                    <key>kernel.maxfiles</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <description>It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>5c07c9e7fe774693b1e56a40aabb22d8</uuid>
                            <expression>last(/Template DPI/kernel.maxfiles)&lt;1024</expression>
                            <name>Configured max number of opened files is too low on {HOST.NAME}</name>
                            <priority>INFO</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>3009e468c1504cb98b519f58e223f793</uuid>
                    <name>Maximum number of processes</name>
                    <key>kernel.maxproc</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <description>It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>a4f5325fe71842cd97300ebe5501c172</uuid>
                            <expression>last(/Template DPI/kernel.maxproc)&lt;256</expression>
                            <name>Configured max number of processes is too low on {HOST.NAME}</name>
                            <priority>INFO</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>fd44a03ac4c74890a63b8c3946ae1525</uuid>
                    <name>Critical errors in /var/log/dpi/fastdpi_alert.log</name>
                    <type>ZABBIX_ACTIVE</type>
                    <key>logrt[/var/log/dpi/fastdpi_alert.log,CRITICAL]</key>
                    <delay>30</delay>
                    <trends>0</trends>
                    <value_type>LOG</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>65e9f2ed80af419286151c565e4590de</uuid>
                            <expression>nodata(/Template DPI/logrt[/var/log/dpi/fastdpi_alert.log,CRITICAL],60s)&lt;&gt;1</expression>
                            <name>Critical error in /var/log/fastdpi_alert.log</name>
                            <priority>HIGH</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>057512bb186a4d8ba3637da5edecfc2c</uuid>
                    <name>Errors in /var/log/dpi/fastdpi_alert.log</name>
                    <type>ZABBIX_ACTIVE</type>
                    <key>logrt[/var/log/dpi/fastdpi_alert.log,ERROR]</key>
                    <delay>30</delay>
                    <trends>0</trends>
                    <value_type>LOG</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>fastdpi</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>71ad0ad962de4fdfb3aa5bd3188fc8d2</uuid>
                            <expression>nodata(/Template DPI/logrt[/var/log/dpi/fastdpi_alert.log,ERROR],60s)&lt;&gt;1</expression>
                            <name>Error in /var/log/fastdpi_alert.log</name>
                            <priority>HIGH</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>144f931629c54478a378bee116de9fd4</uuid>
                    <name>Errors in /var/log/messages</name>
                    <type>ZABBIX_ACTIVE</type>
                    <key>logrt[/var/log/messages,error]</key>
                    <delay>30</delay>
                    <trends>0</trends>
                    <value_type>LOG</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>5b0cc02e0863499f988541ba17918df2</uuid>
                            <expression>nodata(/Template DPI/logrt[/var/log/messages,error],60s)&lt;&gt;1</expression>
                            <name>Error in /var/log/messages</name>
                            <priority>HIGH</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>fa9eef439d464575ab894aec24aef717</uuid>
                    <name>SSH check</name>
                    <key>net.tcp.service[ssh]</key>
                    <delay>30</delay>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>07b0e63b7f844b5daa694844074d7f65</uuid>
                            <expression>last(/Template DPI/net.tcp.service[ssh])=0</expression>
                            <name>SSH check failed</name>
                            <priority>HIGH</priority>
                            <description>test</description>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>7cbfc11dd7b7493f8e182628488d6982</uuid>
                    <name>Number of running processes</name>
                    <key>proc.num[,,run]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <description>Number of processes in running state.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Processes</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>8c1145466f75450487dc30931a0cf6ee</uuid>
                            <expression>last(/Template DPI/proc.num[,,run])&gt;30</expression>
                            <name>Too many processes running on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>a70f86bbdc1b49579ac552767c79546e</uuid>
                    <name>Number of processes</name>
                    <key>proc.num[]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <description>Total number of processes in any state.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Processes</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>ed2c25c4b66240558b942c55efd38326</uuid>
                            <expression>last(/Template DPI/proc.num[])&gt;{$MAX_PROC_NUM}</expression>
                            <name>Too many processes on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>95c0cfb6dd504133a8e03bc456c1d03a</uuid>
                    <name>Суммарный in_IN по dpi</name>
                    <type>CALCULATED</type>
                    <key>summ_in_IN</key>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <params>last(//dpi.01-00.0.in)+last(//dpi.02-00.0.in)</params>
                </item>
                <item>
                    <uuid>b6fb122f71f34fcb809100aedc589725</uuid>
                    <name>Суммарный out_IN по dpi (инверт.)</name>
                    <type>CALCULATED</type>
                    <key>summ_out_IN</key>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <params>-1*(last(//dpi.01-00.0.out)+last(//dpi.02-00.0.out)+last(//dpi.82-00.0.out)+last(//dpi.c1-00.0.out))</params>
                </item>
                <item>
                    <uuid>6d69270e81774dc7ad0946447e958df8</uuid>
                    <name>Суммарный out_IN по dpi</name>
                    <type>CALCULATED</type>
                    <key>summ_out_IN_not_inv</key>
                    <value_type>FLOAT</value_type>
                    <units>Mb/s</units>
                    <params>last(//dpi.01-00.0.out)+last(//dpi.02-00.0.out)</params>
                </item>
                <item>
                    <uuid>7f91a6e6680243b990dc3a217da0d488</uuid>
                    <name>Host boot time</name>
                    <key>system.boottime</key>
                    <delay>600</delay>
                    <history>7d</history>
                    <units>unixtime</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>General</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>fafea654bceb47378d611f2a58b5a452</uuid>
                    <name>Interrupts per second</name>
                    <key>system.cpu.intr</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>ips</units>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f51205052546476884a42e35d14f7a42</uuid>
                    <name>Processor load (1 min average per core)</name>
                    <key>system.cpu.load[percpu,avg1]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <description>The processor load is calculates as system CPU load divided by number of CPU cores.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>6250ee7c613b4400963593dfab39a03d</uuid>
                            <expression>last(/Template DPI/system.cpu.load[percpu,avg1])&gt;85</expression>
                            <name>Processor load is too high on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>c929d778a9914a7d86d56e049569d79c</uuid>
                    <name>Processor load (5 min average per core)</name>
                    <key>system.cpu.load[percpu,avg5]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <description>The processor load is calculates as system CPU load divided by number of CPU cores.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>cd6de2fbe0304f358d796f3d25b2fc87</uuid>
                    <name>Processor load (15 min average per core)</name>
                    <key>system.cpu.load[percpu,avg15]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <description>The processor load is calculates as system CPU load divided by number of CPU cores.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>342ba7d144c64a9886d8c7551a4680e4</uuid>
                    <name>Context switches per second</name>
                    <key>system.cpu.switches</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>sps</units>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>e7aaafea16f84498b1a41792edac7aab</uuid>
                    <name>CPU $2 time_idle</name>
                    <key>system.cpu.util[,idle]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The time the CPU has spent doing nothing.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>6d13312ca3b943dab1ea3350ef87227d</uuid>
                    <name>CPU $2 time_interrupt</name>
                    <key>system.cpu.util[,interrupt]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The amount of time the CPU has been servicing hardware interrupts.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>2ff29bf84f124fd2ad1a86683b26b72d</uuid>
                    <name>CPU $2 time_iowait</name>
                    <key>system.cpu.util[,iowait]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>Amount of time the CPU has been waiting for I/O to complete.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>3dab108847e840a0b7f2e0e3f8bde91e</uuid>
                            <expression>last(/Template DPI/system.cpu.util[,iowait])&gt;20</expression>
                            <name>Disk I/O is overloaded on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                            <description>OS spends significant time waiting for I/O (input/output) operations. It could be indicator of performance issues with storage system.</description>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>4ccb5458b7884a03a345a4b55a0e0852</uuid>
                    <name>CPU $2 time_nice</name>
                    <key>system.cpu.util[,nice]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The time the CPU has spent running users' proccess that have been niced.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>7d41edfa7a11450486fc60b5092dd968</uuid>
                    <name>CPU $2 time_softirq</name>
                    <key>system.cpu.util[,softirq]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The amount of time the CPU has been servicing software interrupts.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f029535339404cfba439e9defb2d558e</uuid>
                    <name>CPU $2 time_steal</name>
                    <key>system.cpu.util[,steal]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>ec5051665432434a9e8cb7b1f57a8580</uuid>
                    <name>CPU $2 time_system</name>
                    <key>system.cpu.util[,system]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The time the CPU has spent running the kernel and its processes.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>55acd87a7634473282faa6966536e6ab</uuid>
                    <name>CPU $2 time_user</name>
                    <key>system.cpu.util[,user]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>The time the CPU has spent running users' processes that are not niced.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>CPU</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Performance</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>51495786624b41b9a95e56eef92f994b</uuid>
                    <name>Host name</name>
                    <key>system.hostname</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>System host name.</description>
                    <inventory_link>NAME</inventory_link>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>General</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>e8eede52961f4793b974f2e84d4fa017</uuid>
                            <expression>(last(/Template DPI/system.hostname,#1)&lt;&gt;last(/Template DPI/system.hostname,#2))&gt;0</expression>
                            <name>Hostname was changed on {HOST.NAME}</name>
                            <priority>INFO</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>b60faa31614947388b599984ff53f957</uuid>
                    <name>Host local time</name>
                    <key>system.localtime</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>unixtime</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>General</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>b05f1809353242bb8d451614b4e3ba16</uuid>
                    <name>Swap in statisctics</name>
                    <key>system.swap.in[,pages]</key>
                    <delay>60</delay>
                    <units>pages</units>
                    <description>Swap in (from device into memory) statistics.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>a260aa25ea294b4a8d9c2045a5cffcd4</uuid>
                    <name>Swap out statistics</name>
                    <key>system.swap.out[,pages]</key>
                    <delay>60</delay>
                    <units>pages</units>
                    <description>Swap out (from memory onto device) statistics.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>e6785e73249345e9a8dde369b154b53f</uuid>
                    <name>Free swap space</name>
                    <key>system.swap.size[,free]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>5fcca7f3e39a4189b4abeaa3b7fc1806</uuid>
                    <name>Free swap space in %</name>
                    <key>system.swap.size[,pfree]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>3563a985abf445688a1f19e22bcd3beb</uuid>
                            <expression>last(/Template DPI/system.swap.size[,pfree])&lt;50</expression>
                            <name>Lack of free swap space on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                            <description>It probably means that the systems requires more physical memory.</description>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>56068cba5e124afb9b2585a406290f32</uuid>
                    <name>Total swap space</name>
                    <key>system.swap.size[,total]</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>7c6dd7fa625a4b999d09642cbe8ffa4e</uuid>
                    <name>System information</name>
                    <key>system.uname</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>The information as normally returned by 'uname -a'.</description>
                    <inventory_link>OS</inventory_link>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>General</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>357a37c98dc7452db4b32a9e4fa448f7</uuid>
                            <expression>(last(/Template DPI/system.uname,#1)&lt;&gt;last(/Template DPI/system.uname,#2))&gt;0</expression>
                            <name>Host information was changed on {HOST.NAME}</name>
                            <priority>INFO</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>029fd38845e0409ca215febefe62e1b3</uuid>
                    <name>System uptime</name>
                    <key>system.uptime</key>
                    <delay>600</delay>
                    <history>7d</history>
                    <units>uptime</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>General</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>66be75596d584a8b8729ade6f29336af</uuid>
                            <expression>change(/Template DPI/system.uptime)&lt;0</expression>
                            <name>{HOST.NAME} has just been restarted</name>
                            <priority>INFO</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>9e272d6edd0d4ea5a74ca3876005680f</uuid>
                    <name>Number of logged in users</name>
                    <key>system.users.num</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <description>Number of users who are currently logged in.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>OS</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>Security</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>2d9d1a5a27964dc2af4533493dce8e90</uuid>
                    <name>Disk read operaions</name>
                    <key>vfs.dev.read[,operations]</key>
                    <delay>60</delay>
                    <description>Disk read statistics.</description>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Filesystems</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>3f18fe1f05ab44ec80e7e957b69bed9c</uuid>
                    <name>Disk read statistics</name>
                    <key>vfs.dev.read[,ops,avg1]</key>
                    <delay>60</delay>
                    <value_type>FLOAT</value_type>
                    <units>ops</units>
                    <description>Disk read statistics.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Filesystems</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>4690bd6a67204c30a5b1180d5d79545c</uuid>
                    <name>Disk write operaions</name>
                    <key>vfs.dev.write[,operations]</key>
                    <delay>60</delay>
                    <description>Disk write statistics.</description>
                    <preprocessing>
                        <step>
                            <type>CHANGE_PER_SECOND</type>
                            <parameters>
                                <parameter/>
                            </parameters>
                        </step>
                    </preprocessing>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Filesystems</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>7f8f6c7c5dbe4d3ab0cec0b1fcc29c30</uuid>
                    <name>Disk write statistics</name>
                    <key>vfs.dev.write[,ops,avg1]</key>
                    <delay>60</delay>
                    <value_type>FLOAT</value_type>
                    <units>ops</units>
                    <description>Disk write statistics.</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Filesystems</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>2f8ad76f8c66411797f458cd6f5d9fff</uuid>
                    <name>Checksum of $1</name>
                    <key>vfs.file.cksum[/etc/passwd]</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Security</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>a0f7d534d8f5463fb12ea7084711e612</uuid>
                            <expression>(last(/Template DPI/vfs.file.cksum[/etc/passwd],#1)&lt;&gt;last(/Template DPI/vfs.file.cksum[/etc/passwd],#2))&gt;0</expression>
                            <name>/etc/passwd has been changed on {HOST.NAME}</name>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>2085d63b1fa64738b35804ecf9f7715a</uuid>
                    <name>Available memory</name>
                    <key>vm.memory.size[available]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>acf3d49ed1f74c549c3dae8ff7fd90c0</uuid>
                    <name>Buffers memory</name>
                    <key>vm.memory.size[buffers]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>98e71d100d424b65843bfab67d4f6929</uuid>
                    <name>Cached memory</name>
                    <key>vm.memory.size[cached]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>b0fec6b62bac4440addaabd60bdb05df</uuid>
                    <name>Free memory</name>
                    <key>vm.memory.size[free]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>3b2a237f16f247b683deeb15e4bac58f</uuid>
                    <name>Available memory in percent</name>
                    <key>vm.memory.size[pavailable]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>Available memory in host</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>c38b2e12d13b4ba9b2ffbee08e388a60</uuid>
                            <expression>avg(/Template DPI/vm.memory.size[pavailable],120s)&lt;{$MIN_FREE_MEMORY}</expression>
                            <name>Lack of available memory on server {HOST.NAME}</name>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>f3b380aba0a24f39a658b14f5281a421</uuid>
                    <name>Used memory in percent</name>
                    <key>vm.memory.size[pused]</key>
                    <delay>60</delay>
                    <history>7d</history>
                    <value_type>FLOAT</value_type>
                    <units>%</units>
                    <description>Used memory in percent</description>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>94d59145dfd342c39b76591a0b3cec3b</uuid>
                            <expression>avg(/Template DPI/vm.memory.size[pused],120s)&gt;{$MAX_MEMORY}</expression>
                            <name>Lack of available memory on server {HOST.NAME}</name>
                            <status>DISABLED</status>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>0492fd4056cf41dda36ce9bdc1cda9ca</uuid>
                    <name>Total memory</name>
                    <key>vm.memory.size[total]</key>
                    <delay>3600</delay>
                    <history>7d</history>
                    <units>B</units>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Memory</value>
                        </tag>
                    </tags>
                </item>
            </items>
            <discovery_rules>
                <discovery_rule>
                    <uuid>a1a770ee55254fb3b500ba2ada895586</uuid>
                    <name>Network interface discovery</name>
                    <key>net.if.discovery</key>
                    <delay>3600</delay>
                    <filter>
                        <conditions>
                            <condition>
                                <macro>{#IFNAME}</macro>
                                <value>@Network interfaces for discovery</value>
                                <formulaid>A</formulaid>
                            </condition>
                        </conditions>
                    </filter>
                    <description>Discovery of network interfaces as defined in global regular expression &quot;Network interfaces for discovery&quot;.</description>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>2a44bcb61f7849da85ab8d93400d6066</uuid>
                            <name>Incoming network traffic on $1</name>
                            <key>net.if.in[{#IFNAME}]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <units>bps</units>
                            <preprocessing>
                                <step>
                                    <type>CHANGE_PER_SECOND</type>
                                    <parameters>
                                        <parameter/>
                                    </parameters>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>8</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Network interfaces</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>b30de3bd58fb471491cadbc0b505b765</uuid>
                            <name>Outgoing network traffic on $1</name>
                            <key>net.if.out[{#IFNAME}]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <units>bps</units>
                            <preprocessing>
                                <step>
                                    <type>CHANGE_PER_SECOND</type>
                                    <parameters>
                                        <parameter/>
                                    </parameters>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>8</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Network interfaces</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>299e58f6e12e40e7810cbf97bb703cd7</uuid>
                            <name>Errors on interface {#IFNAME}</name>
                            <key>net.if.total[{#IFNAME},errors]</key>
                            <delay>30</delay>
                            <preprocessing>
                                <step>
                                    <type>CHANGE_PER_SECOND</type>
                                    <parameters>
                                        <parameter/>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Network interfaces</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>62920ad7c5f3436cb9bae0a4c3d926f3</uuid>
                            <name>PPS on interface {#IFNAME}</name>
                            <key>net.if.total[{#IFNAME},packets]</key>
                            <delay>30</delay>
                            <units>pps</units>
                            <preprocessing>
                                <step>
                                    <type>CHANGE_PER_SECOND</type>
                                    <parameters>
                                        <parameter/>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Network interfaces</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>3f82823b12b94d179a996253091e314e</uuid>
                            <name>Network traffic on {#IFNAME}</name>
                            <ymin_type_1>FIXED</ymin_type_1>
                            <graph_items>
                                <graph_item>
                                    <drawtype>GRADIENT_LINE</drawtype>
                                    <color>00AA00</color>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>net.if.in[{#IFNAME}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <drawtype>GRADIENT_LINE</drawtype>
                                    <color>3333FF</color>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>net.if.out[{#IFNAME}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>fc56e454a618490ca9b21a9a53d7ce30</uuid>
                            <name>Packets per second on {#IFNAME}</name>
                            <graph_items>
                                <graph_item>
                                    <color>0000AA</color>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>net.if.total[{#IFNAME},packets]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
                <discovery_rule>
                    <uuid>6d719b6d600a4bb3acb3590c291454ca</uuid>
                    <name>Mounted filesystem discovery</name>
                    <key>vfs.fs.discovery</key>
                    <delay>3600</delay>
                    <filter>
                        <conditions>
                            <condition>
                                <macro>{#FSTYPE}</macro>
                                <value>@File systems for discovery</value>
                                <formulaid>A</formulaid>
                            </condition>
                        </conditions>
                    </filter>
                    <description>Discovery of file systems of different types as defined in global regular expression &quot;File systems for discovery&quot;.</description>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>a551f2d49f174c6ebea332c02918ee2d</uuid>
                            <name>Free inodes on $1 (percentage)</name>
                            <key>vfs.fs.inode[{#FSNAME},pfree]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Filesystems</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>ffa60a58792d42da824f8308dca03880</uuid>
                                    <expression>last(/Template DPI/vfs.fs.inode[{#FSNAME},pfree])&lt;20</expression>
                                    <name>Free inodes is less than 20% on volume {#FSNAME}</name>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>3dd2e34933a14ae8b077c8c44bfcca67</uuid>
                            <name>Free disk space on $1</name>
                            <key>vfs.fs.size[{#FSNAME},free]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <units>B</units>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Filesystems</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>04e078089ca5402fb3f0e4bab581d379</uuid>
                            <name>Free disk space on $1 (percentage)</name>
                            <key>vfs.fs.size[{#FSNAME},pfree]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Filesystems</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>f44eb997d0f646718b04bef2a9496d06</uuid>
                                    <expression>last(/Template DPI/vfs.fs.size[{#FSNAME},pfree])&lt;5</expression>
                                    <name>Free disk space is less than 5 % on volume {#FSNAME}</name>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>47629995159c4cfbb6d3148bb4caa2a0</uuid>
                            <name>Total disk space on $1</name>
                            <key>vfs.fs.size[{#FSNAME},total]</key>
                            <delay>3600</delay>
                            <history>7d</history>
                            <units>B</units>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Filesystems</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>3b52f3e71f7d4036b0dd08571a05e848</uuid>
                            <name>Used disk space on $1</name>
                            <key>vfs.fs.size[{#FSNAME},used]</key>
                            <delay>60</delay>
                            <history>7d</history>
                            <units>B</units>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Filesystems</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>bdaa085c27b048b293888b12fe9512d2</uuid>
                            <name>Disk space usage {#FSNAME}</name>
                            <width>600</width>
                            <height>340</height>
                            <yaxismax>0</yaxismax>
                            <show_work_period>NO</show_work_period>
                            <show_triggers>NO</show_triggers>
                            <type>PIE</type>
                            <show_3d>YES</show_3d>
                            <graph_items>
                                <graph_item>
                                    <color>C80000</color>
                                    <type>GRAPH_SUM</type>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>vfs.fs.size[{#FSNAME},total]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>00C800</color>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>vfs.fs.size[{#FSNAME},free]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>0c16993c11a340f2aa59717b386d533d</uuid>
                            <name>Free inodes on {#FSNAME} in percent</name>
                            <ymin_type_1>FIXED</ymin_type_1>
                            <ymax_type_1>FIXED</ymax_type_1>
                            <graph_items>
                                <graph_item>
                                    <drawtype>GRADIENT_LINE</drawtype>
                                    <color>C80000</color>
                                    <item>
                                        <host>Template DPI</host>
                                        <key>vfs.fs.inode[{#FSNAME},pfree]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
            </discovery_rules>
            <macros>
                <macro>
                    <macro>{$MAX_MEMORY}</macro>
                    <value>85</value>
                </macro>
                <macro>
                    <macro>{$MAX_PROC_NUM}</macro>
                    <value>1000</value>
                </macro>
                <macro>
                    <macro>{$MIN_FREE_MEMORY}</macro>
                    <value>15</value>
                </macro>
                <macro>
                    <macro>{$QDROPS_NUM}</macro>
                    <value>5000</value>
                </macro>
            </macros>
        </template>
    </templates>
    <graphs>
        <graph>
            <uuid>65f18dd9285547bba721b16c586b20b8</uuid>
            <name>Available memory</name>
            <ymin_type_1>FIXED</ymin_type_1>
            <ymax_type_1>ITEM</ymax_type_1>
            <ymax_item_1>
                <host>Template DPI</host>
                <key>vm.memory.size[total]</key>
            </ymax_item_1>
            <graph_items>
                <graph_item>
                    <drawtype>FILLED_REGION</drawtype>
                    <color>99FFFF</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[total]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[available]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>2</sortorder>
                    <drawtype>BOLD_LINE</drawtype>
                    <color>0000C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[cached]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>3</sortorder>
                    <drawtype>BOLD_LINE</drawtype>
                    <color>DDDD00</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[free]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>4</sortorder>
                    <drawtype>BOLD_LINE</drawtype>
                    <color>00C800</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[buffers]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>d24c69af8b804885880a3409913c08f8</uuid>
            <name>Available memory in percent</name>
            <ymin_type_1>FIXED</ymin_type_1>
            <ymax_type_1>FIXED</ymax_type_1>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[pavailable]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>4a60714b58c442b8b717a612e9b03d45</uuid>
            <name>CNames blocked</name>
            <graph_items>
                <graph_item>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ssl.lock</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>28531ebbbfee4787aa6b8ea8e28c9b2a</uuid>
            <name>CNames processed</name>
            <graph_items>
                <graph_item>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ssl.proc</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>d9c73bb3eb464d80b191894bd514313a</uuid>
            <name>CPU load</name>
            <yaxismax>15</yaxismax>
            <ymin_type_1>FIXED</ymin_type_1>
            <ymax_type_1>FIXED</ymax_type_1>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>00CCCC</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.cpu.load[percpu,avg1]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>6d78c60e6f8f4d969c554ed0de7226b1</uuid>
            <name>CPU utilization detailed</name>
            <ymin_type_1>FIXED</ymin_type_1>
            <ymax_type_1>FIXED</ymax_type_1>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>00C800</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.cpu.util[,system]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>0000C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.cpu.util[,user]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>2</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>CCCC00</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.cpu.util[,iowait]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>3e5c9aeae71643be8181f709b0078601</uuid>
            <name>Disk utilization</name>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>00CCCC</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vfs.dev.read[,ops,avg1]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>00CC00</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vfs.dev.write[,ops,avg1]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>cf81c45575a0494cbce802adf51a7492</uuid>
            <name>Drops on dpi interfaces</name>
            <graph_items>
                <graph_item>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.01-00.0.drops</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>2</sortorder>
                    <color>0000C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.02-00.0.drops</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>32a3eeb64f7c41bbadd5ea4500439102</uuid>
            <name>IP blocked</name>
            <graph_items>
                <graph_item>
                    <color>00C800</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ip.lock</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>9263e5ed24084767a2382bf8e0ab4a20</uuid>
            <name>IPv4 flows stat</name>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>199C0D</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ip.ipv4.flows.alloc</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>FF0000</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ip.ipv4.flows.used</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>9ab58bdb1101448f87cd47ec17e32fd8</uuid>
            <name>IPv6 flows stat</name>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>4000FF</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ip.ipv6.flows.alloc</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>FF0000</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.ip.ipv6.flows.used</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>3e87e79380d94dd5ac9a8f463a923b59</uuid>
            <name>Non legetim Drops in DPDK interfaces</name>
            <graph_items>
                <graph_item>
                    <color>199C0D</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.if.01-00.0.non_leg_drop</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>2</sortorder>
                    <color>2774A4</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.if.02-00.0.non_leg_drop</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>b4e502d7553940df9437c416412c6c23</uuid>
            <name>Swap utilization</name>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.swap.in[,pages]</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>00C800</color>
                    <item>
                        <host>Template DPI</host>
                        <key>system.swap.out[,pages]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>0a4e76b1a0e847e2a2186767aceed635</uuid>
            <name>Traffic processed on interface 01-00.0</name>
            <graph_items>
                <graph_item>
                    <color>0000C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.01-00.0.in</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <color>C800C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.01-00.0.out</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>4de2cc7050414980a226c2133dfb579f</uuid>
            <name>Traffic processed on interface 02-00.0</name>
            <graph_items>
                <graph_item>
                    <color>0000C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.02-00.0.in</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <color>C800C8</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.02-00.0.out</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>45454e43b6ba45d78b9e022ab62a62a9</uuid>
            <name>URL blocked</name>
            <graph_items>
                <graph_item>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.url.lock</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>47971115ce16478f9df8965f4e915974</uuid>
            <name>URL processed</name>
            <graph_items>
                <graph_item>
                    <color>C80000</color>
                    <item>
                        <host>Template DPI</host>
                        <key>dpi.url.proc</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>81f7118cf5494cae99b939622f0c7d56</uuid>
            <name>Used memory in percent</name>
            <ymin_type_1>FIXED</ymin_type_1>
            <ymax_type_1>FIXED</ymax_type_1>
            <graph_items>
                <graph_item>
                    <drawtype>GRADIENT_LINE</drawtype>
                    <color>CC00CC</color>
                    <item>
                        <host>Template DPI</host>
                        <key>vm.memory.size[pused]</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
        <graph>
            <uuid>3fabca29b0154401ac56abcb4d28c734</uuid>
            <name>Трафик относительно IN  портов</name>
            <graph_items>
                <graph_item>
                    <drawtype>FILLED_REGION</drawtype>
                    <color>199C0D</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>summ_in_IN</key>
                    </item>
                </graph_item>
                <graph_item>
                    <sortorder>1</sortorder>
                    <drawtype>FILLED_REGION</drawtype>
                    <color>0080FF</color>
                    <calc_fnc>ALL</calc_fnc>
                    <item>
                        <host>Template DPI</host>
                        <key>summ_out_IN</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
    </graphs>
</zabbix_export>
