Zabbix 2.2.5 on Debian:
If I export a template as XML, then it seems that the "triggers" are defined outside of the "templates" block. Sample (using the "Template ICMP Ping" template):
This looks weird. Doesn't this break importing this XML code?
Every helpful comment is highly appreciated.
Harri
If I export a template as XML, then it seems that the "triggers" are defined outside of the "templates" block. Sample (using the "Template ICMP Ping" template):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2014-07-20T05:53:32Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template ICMP Ping</template>
<name>Template ICMP Ping</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>ICMP loss</name>
<type>3</type>
:
</item>
:
:
<item>
:
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template ICMP Ping:icmppingloss.min(5m)}>20</expression>
<name>Ping loss is too high on {HOST.NAME}</name>
:
</trigger>
:
:
<trigger>
:
</trigger>
</triggers>
</zabbix_export>
Every helpful comment is highly appreciated.
Harri