<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>6.0</version>
    <date>2022-11-15T05:56:06Z</date>
    <groups>
        <group>
            <uuid>02e4df4f20b848e79267641790f241da</uuid>
            <name>Templates/Virtualization</name>
        </group>
    </groups>
    <templates>
        <template>
            <uuid>64585f90b94844a084ba18795bec7edc</uuid>
            <template>Template zVirt Monitor</template>
            <name>Template zVirt Monitor</name>
            <groups>
                <group>
                    <name>Templates/Virtualization</name>
                </group>
            </groups>
            <items>
                <item>
                    <uuid>c1a2ad6b4714489b9a567320f782f1e9</uuid>
                    <name>zVirt API</name>
                    <type>TRAP</type>
                    <key>zvirt.api</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt API</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>484306e8654b4fc392021a599418f6c7</uuid>
                    <name>zVirt Clusters</name>
                    <type>TRAP</type>
                    <key>zvirt.clusters</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <status>DISABLED</status>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Clusters</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f11a1ed7311b4c949c5a9cc0e8f806d5</uuid>
                    <name>zVirt Datacenters</name>
                    <type>TRAP</type>
                    <key>zvirt.data_centers</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Datacenters</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>709c6f40f4a64b4a8e888b5d25b29008</uuid>
                    <name>zVirt Disks</name>
                    <type>TRAP</type>
                    <key>zvirt.disks</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Disks</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>0cbff2a792064f0cb34e81eda6b9b783</uuid>
                    <name>zVirt Hosts</name>
                    <type>TRAP</type>
                    <key>zvirt.hosts</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Hosts</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>dd160c43e7074fc7bbd86c2eaeff86fc</uuid>
                    <name>zVirt Hosts Active</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.hosts.active</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.hosts.active</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Hosts</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>55807f40e24f4a51b7e65e28f2f9eaf7</uuid>
                    <name>zVirt Hosts Total</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.hosts.total</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.hosts.total</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Hosts</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f97a39c5464945119feab3c97182b42c</uuid>
                    <name>zVirt Networks</name>
                    <type>TRAP</type>
                    <key>zvirt.networks</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Networks</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>44c61eccc87d438b98e0bb885151d056</uuid>
                    <name>zVirt Networks Total</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.networks.total</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.networks.total</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Networks</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>e04ab07dab7c4ead9402fe198586d57b</uuid>
                    <name>zVirt Storage Domains</name>
                    <type>TRAP</type>
                    <key>zvirt.storage_domains</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Storage Domains</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>12f4def01ed64e40833f9ff7b8dcd67a</uuid>
                    <name>zVirt Storage Domains Active</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.storage_domains.active</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.storage_domains.active</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Storage Domains</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>8d303ff118d347068f99c9b1f3695d1c</uuid>
                    <name>zVirt Storage Domains Total</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.storage_domains.total</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.storage_domains.total</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Storage Domains</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>e5d1a613ebf5438d9d1582af5bbf0a52</uuid>
                    <name>zVirt Users Active</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.users.active</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.users.active</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Users</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>ee7806fbc6dc42ff99f0339891aeab6d</uuid>
                    <name>zVirt Users Total</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.users.total</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.users.total</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt Users</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>10c1fc3ee3714fbe917daf65df89ba92</uuid>
                    <name>zVirt VMs</name>
                    <type>TRAP</type>
                    <key>zvirt.vms</key>
                    <delay>0</delay>
                    <trends>0</trends>
                    <value_type>TEXT</value_type>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt</value>
                        </tag>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt VMs</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>87349641f1884b0f97c8870017562ca4</uuid>
                    <name>zVirt VMs Active</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.vms.active</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.vms.active</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt VMs</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>4f71dea381be4f0d88b14711ddbf9722</uuid>
                    <name>zVirt VMs Total</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.vms.total</key>
                    <delay>0</delay>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.vms.total</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>zvirt.api</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>zVirt VMs</value>
                        </tag>
                    </tags>
                </item>
            </items>
            <discovery_rules>
                <discovery_rule>
                    <uuid>d38e085fdd554af8ab79660234743e39</uuid>
                    <name>zVirt Datacenters Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.data_centers</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>fe9aed5d29874057b10e0553aa453a31</uuid>
                            <name>Datacenter {#NAME} Status</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.data_center.status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.data_centers</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Datacenters</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Datacenter {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>35a6f386f3594a1081331ec5386739c1</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.data_center.status[{#ID}])=&quot;maintenance&quot;</expression>
                                    <name>Datacenter {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>cdb11d8f962048b09f8db41e25eb98af</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.data_center.status[{#ID}])=&quot;not_operational&quot; or last(/Template zVirt Monitor/zvirt.data_center.status[{#ID}])=&quot;problematic&quot; or last(/Template zVirt Monitor/zvirt.data_center.status[{#ID}])=&quot;uninitialized&quot;</expression>
                                    <name>Datacenter {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>zvirt.data_centers</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
                <discovery_rule>
                    <uuid>96a961d0d0ae44dfa2c198b89a17c5f0</uuid>
                    <name>zVirt Disks Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.disks</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>4df421ae04814744b9e1f7211fbbb23c</uuid>
                            <name>Disk {#NAME} Flush Latency</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.flush.latency[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>s</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['disk.flush.latency'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c6a628c38e0b4809916ffaa233f00fdd</uuid>
                            <name>Disk {#NAME} Read Latency</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.read.latency[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>s</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['disk.read.latency'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>dcbad49740c740448cb91380adb1c433</uuid>
                            <name>Disk {#NAME} Read Data Rate</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.read[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>bps</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['data.current.read'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>e226d741413948f49db1217a2ecaf679</uuid>
                            <name>Disk {#NAME} Status</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>a3087487460c46fabdbe7c18d0fb028e</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.disk.status[{#ID}])=&quot;illegal&quot;</expression>
                                    <name>Disk {#NAME} is in illegal state</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>186b8aba38054a37a74d32ffa82a2101</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.disk.status[{#ID}])=&quot;locked&quot;</expression>
                                    <name>Disk {#NAME} is locked</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>e9db855a5d344f0f82b4ae712f6e4e16</uuid>
                            <name>Disk {#NAME} Write Latency</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.write.latency[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>s</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['disk.write.latency'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>cb89be9f95234aeba2b6d121eeeb4565</uuid>
                            <name>Disk {#NAME} Write Data Rate</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.disk.write[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>bps</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['data.current.write'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.disks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Disk {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>e5a225f0bb8c4a1d8d607ebdfd46131d</uuid>
                            <name>Data read and write rate {#NAME} {#ID}</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.disk.read[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.disk.write[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>28b1ffee0f544d40acd3c8157e039900</uuid>
                            <name>Latency {#NAME} {#ID}</name>
                            <graph_items>
                                <graph_item>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.disk.read.latency[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>A54F10</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.disk.write.latency[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                    <master_item>
                        <key>zvirt.disks</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
                <discovery_rule>
                    <uuid>059a602f1c1e4c79af1df6eabfbcf52e</uuid>
                    <name>zVirt Hosts Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.hosts</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>3a416c110113455799f273e7c8ac93e3</uuid>
                            <name>zVirt Host {#NAME} Boot time of the machine</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.boot_time[{#ID}]</key>
                            <delay>0</delay>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['boot.time'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>144298cebc8e472c9b214784faec854c</uuid>
                            <name>zVirt Host {#NAME} CPU 5 minute load average</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.cpu_5m_load_average[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.load.avg.5m'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>a2077215b0374f728283fb63773d938e</uuid>
                            <name>zVirt Host {#NAME} Idle CPU usage</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.cpu_current_idle[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.idle'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>89e2ef1b22e54b9b8c74149c0cad3713</uuid>
                            <name>zVirt Host {#NAME} Free memory</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.free_memory[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.free'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c1fb6570394a4873ae931ab87b8fdcc8</uuid>
                            <name>zVirt Host {#NAME} Free swap</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.free_swap[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['swap.free'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>2ef9e8c54d464adc9e2adb9e90e5c72a</uuid>
                            <name>zVirt Host {#NAME} Amount of free huge pages of the given size</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.hugepages_2048_free[{#ID}]</key>
                            <delay>0</delay>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['hugepages.2048.free'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>67ccd43a37af4921afd5a4c8b3d4f6d8</uuid>
                            <name>zVirt Host {#NAME} KSM CPU usage</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.ksm_cpu_usage[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['ksm.cpu.current'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c117d57b35214b9d893a43d3fa30b831</uuid>
                            <name>zVirt Host {#NAME} Shared memory</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.shared_memory[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.shared'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>df10cfcc8c7f4d74a306572dac7ee580</uuid>
                            <name>zVirt VM {#NAME} Status</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>12730bd4836a43658d2080701c4f1c52</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;connecting&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;down&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;error&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;install_failed&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;kdumping&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;non_operational&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;non_responsive&quot;</expression>
                                    <name>Host {#NAME} is in a &quot;{ITEM.LASTVALUE1}&quot; state</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>b23beb82f7dd4e088fb51ccfab8d0164</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;maintenance&quot; or last(/Template zVirt Monitor/zvirt.host.status[{#ID}])=&quot;reboot&quot;</expression>
                                    <name>Host {#NAME} is in a &quot;{ITEM.LASTVALUE1}&quot; state</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>b5f851d068fa4cc5a248d1937c94c10c</uuid>
                            <name>zVirt Host {#NAME} System CPU usage</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.system_cpu_usage[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.system'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f85304e2b8c24ee3904dee154b7e0956</uuid>
                            <name>zVirt Host {#NAME} Total memory</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.total_memory[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.total'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>ab5c6843aa0748b88c0b6aae10b7998e</uuid>
                            <name>zVirt Host {#NAME} Total swap</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.total_swap[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['swap.total'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>32a8bc98685b4c9d8bd32e4e38d6581f</uuid>
                            <name>zVirt Host {#NAME} Used memory</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.used_memory[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.used'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>75cff3c5e0524e08ba021b3f24392146</uuid>
                            <name>zVirt Host {#NAME} Used swap</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.used_swap[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['swap.used'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>8c9eba0fa33c4de583bc4be405ac3fb4</uuid>
                            <name>zVirt Host {#NAME} User CPU usage</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.host.user_cpu_usage[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.user'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.hosts</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Hosts</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Host {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>78887e70bf9e473c9a235796b675c871</uuid>
                            <name>Host {#NAME} CPU 5 minute load average</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.cpu_5m_load_average[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>d31e8e4e802145a7b52b6395f4a6a1ce</uuid>
                            <name>Host {#NAME} CPU Usage</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.cpu_current_idle[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.ksm_cpu_usage[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.system_cpu_usage[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <color>A54F10</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.user_cpu_usage[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>92e929fd5d204a7eab1f6da0e5b8748b</uuid>
                            <name>Host {#NAME} Memory</name>
                            <graph_items>
                                <graph_item>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.free_memory[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.shared_memory[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>A54F10</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.total_memory[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <color>FC6EA3</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.used_memory[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>340fab5953144130b625254ae4e9624e</uuid>
                            <name>Host {#NAME} Swap</name>
                            <graph_items>
                                <graph_item>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.free_swap[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.total_swap[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>A54F10</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.host.used_swap[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                    <master_item>
                        <key>zvirt.hosts</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
                <discovery_rule>
                    <uuid>e40e1f0d1910448a9482fc1de68eb085</uuid>
                    <name>zVirt Networks Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.networks</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>cdf0ecba645b406dabd04dc27a8572d3</uuid>
                            <name>zVirt Network {#NAME} Maximum transmission unit</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.network.mtu[{#ID}]</key>
                            <delay>0</delay>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['mtu'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.networks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Networks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Network {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>69c5dde2320a4311ac35ad438b5b2fdf</uuid>
                            <name>zVirt Network {#NAME} Port isolation</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.network.port_isolation[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['port_isolation'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.networks</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Networks</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Network {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>zvirt.networks</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
                <discovery_rule>
                    <uuid>1eb23330598345bdb92095439263e729</uuid>
                    <name>zVirt Storage Domains Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.storage_domains</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>9f041fc06ad240e590db9f8267384273</uuid>
                            <name>Storage Domain {#NAME} External Status</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.storage_domain.external_status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['external_status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.storage_domains</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domains</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domain {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>ea0a2bfd1e9d4496bb74b595f9bbf06e</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.storage_domain.external_status[{#ID}])=&quot;error&quot; or last(/Template zVirt Monitor/zvirt.storage_domain.external_status[{#ID}])=&quot;failure&quot; or last(/Template zVirt Monitor/zvirt.storage_domain.external_status[{#ID}])=&quot;warning&quot;</expression>
                                    <name>Storage Domain {#NAME} external status is &quot;{ITEM.LASTVALUE}&quot;</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>656243dc7f3e4b60a44a2ae2214f6bda</uuid>
                            <name>Storage Domain {#NAME} Available Space</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.storage_domain.space.available[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['available'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.storage_domains</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domains</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domain {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>28d926415e8343f991abb02f7cd3899f</uuid>
                            <name>Storage Domain {#NAME} Committed Space</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.storage_domain.space.committed[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['committed'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.storage_domains</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domains</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domain {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>00cbee1f9e144c969010b296c79f4526</uuid>
                            <name>Storage Domain {#NAME} Critical Space Action Blocker</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.storage_domain.space.critical_action_blocker[{#ID}]</key>
                            <delay>0</delay>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['critical_space_action_blocker'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.storage_domains</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domains</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domain {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>e9229b3add52431892bd2c3be58e5bac</uuid>
                            <name>Storage Domain {#NAME} Status</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.storage_domain.status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.storage_domains</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domains</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt Storage Domain {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>b7bb0c9d0c2f40fcb3cb7c58ddcc11de</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.storage_domain.status[{#ID}])=&quot;activating&quot; or last(/Template zVirt Monitor/zvirt.storage_domain.status[{#ID}])=&quot;maintenance&quot;</expression>
                                    <name>Storage Domain {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>1d2d9168bcf4482ca307a6b083b9c24c</uuid>
                                    <expression>last(/Template zVirt Monitor/zvirt.storage_domain.status[{#ID}])=&quot;inactive&quot; or last(/Template zVirt Monitor/zvirt.storage_domain.status[{#ID}])=&quot;unknown&quot;</expression>
                                    <name>Storage Domain {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>81619c5b54244fbcb2d38fa3ab678294</uuid>
                            <name>Storage Dmain {#NAME} Space</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.storage_domain.space.available[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.storage_domain.space.committed[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                    <master_item>
                        <key>zvirt.storage_domains</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
                <discovery_rule>
                    <uuid>37bc8700d5ff4e5fbf645ea67e97bad5</uuid>
                    <name>zVirt VMs Discovery</name>
                    <type>DEPENDENT</type>
                    <key>zvirt.discovery.vms</key>
                    <delay>0</delay>
                    <lifetime>1d</lifetime>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>3ae6c28db1384b01a0dd3edb0cfbc562</uuid>
                            <name>zVirt VM {#NAME} CPU used by guest</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.cpu_guest[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.guest'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>01b41191fda04a6b867a24544fc6d651</uuid>
                            <name>zVirt VM {#NAME} CPU overhead</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.cpu_overhead[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.hypervisor'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>3b89751f450f44c8920731945127e969</uuid>
                            <name>zVirt VM {#NAME} Total CPU Used</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.cpu_total[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['cpu.current.total'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>b6a5383a77f44ccaa8e800aa8d406322</uuid>
                            <name>zVirt VM {#NAME} Memory buffered (agent)</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.memory_buffered[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.buffered'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c07011f3852b46608644ed32be96b2f6</uuid>
                            <name>zVirt VM {#NAME} Memory cached (agent)</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.memory_cached[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.cached'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>03d8a64701454e428e868c93630c7a8b</uuid>
                            <name>zVirt VM {#NAME} Memory free (agent)</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.memory_free[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.free'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>665661ad2c8240149064f87748b3affe</uuid>
                            <name>zVirt VM {#NAME} Memory installed</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.memory_installed[{#ID}]</key>
                            <delay>0</delay>
                            <units>B</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['memory.installed'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>0cbe2a5560454dcdabf4a8f017960b1b</uuid>
                            <name>zVirt VM {#NAME} Migration progress</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.migration_progress[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['migration.progress'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>14ab4e3415454312976f1bc96c244dab</uuid>
                            <name>zVirt VM {#NAME} Total network used</name>
                            <type>DEPENDENT</type>
                            <key>zvirt.vm.network_used[{#ID}]</key>
                            <delay>0</delay>
                            <value_type>FLOAT</value_type>
                            <units>%</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['statistics']['network.current.total'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>24c74489f4814355b3472f01e227d467</uuid>
                            <name>zVirt VM {#NAME} Status</name>
                            <type>DEPENDENT</type>
                            <key>zvrit.vm.status[{#ID}]</key>
                            <delay>0</delay>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$[?(@.id == &quot;{#ID}&quot;)]['status'].first()</parameter>
                                    </parameters>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>zvirt.vms</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VMs</value>
                                </tag>
                                <tag>
                                    <tag>Application</tag>
                                    <value>zVirt VM {#NAME}</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>27d11fbd0cd1433ab325308d1ea0af33</uuid>
                                    <expression>last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;migrating&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;powering_down&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;powering_up&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;reboot_in_progress&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;wait_for_launch&quot;</expression>
                                    <name>VM {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>3fffb074109c4b3191b9fe62016ec834</uuid>
                                    <expression>last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;not_responding&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;unassigned&quot; or last(/Template zVirt Monitor/zvrit.vm.status[{#ID}])=&quot;unknown&quot;</expression>
                                    <name>VM {#NAME} is in a &quot;{ITEM.LASTVALUE}&quot; state</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <uuid>f95f4c8f30434a618d2322707a88477c</uuid>
                            <name>VM {#NAME}  CPU Usage</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.cpu_overhead[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.cpu_guest[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.cpu_total[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>5c04db1911574829abc778ca440cf1de</uuid>
                            <name>VM {#NAME} Memory Usage</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.memory_buffered[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.memory_cached[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.memory_free[{#ID}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <color>A54F10</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.memory_installed[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <uuid>3996f583b3af436ca501fdb92dd5b68a</uuid>
                            <name>VM {#NAME} Network Usage</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template zVirt Monitor</host>
                                        <key>zvirt.vm.network_used[{#ID}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                    <master_item>
                        <key>zvirt.vms</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#NAME}</lld_macro>
                            <path>$.name</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                </discovery_rule>
            </discovery_rules>
        </template>
    </templates>
</zabbix_export>
