模板
被动
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-01-16T16:11:13Z</date>
<groups>
<group>
<name>my templates</name>
</group>
</groups>
<templates>
<template>
<template>my-demo-template</template>
<name>my-demo-template</name>
<groups>
<group>
<name>my templates</name>
</group>
</groups>
<applications>
<application>
<name>common</name>
</application>
<application>
<name>java</name>
</application>
<application>
<name>mysql</name>
</application>
<application>
<name>nginx</name>
</application>
</applications>
<items>
<item>
<name>java run</name>
<key>proc.num[java]</key>
<trends>0</trends>
<applications>
<application>
<name>java</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}=0</expression>
<name>java退出</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>mysql rum</name>
<key>proc.num[mysqld]</key>
<trends>0</trends>
<applications>
<application>
<name>mysql</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}=0</expression>
<name>mysql退出</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>nginx run</name>
<key>proc.num[nginx]</key>
<history>7d</history>
<trends>0</trends>
<applications>
<application>
<name>nginx</name>
&