-
Notifications
You must be signed in to change notification settings - Fork 2
/
zabbix_export_templates.xml
60 lines (59 loc) · 2.41 KB
/
zabbix_export_templates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-02-05T11:38:39Z</date>
<groups>
<group>
<name>All Templates</name>
</group>
</groups>
<templates>
<template>
<template>Web Check</template>
<name>Web Check</name>
<groups>
<group>
<name>All Templates</name>
</group>
</groups>
<discovery_rules>
<discovery_rule>
<name>Web Sites Discovery</name>
<key>web.discovery</key>
<lifetime>1d</lifetime>
<item_prototypes>
<item_prototype>
<name>Website ({#SITENAME}) - Status</name>
<key>web.status[{#SITEURL},{#SITEKEYWORD},{#SITEHEADER}]</key>
<delay>30s</delay>
<history>14d</history>
<trends>14d</trends>
<trigger_prototypes>
<trigger_prototype>
<expression>{count(#4,0,"eq")}=4</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{count(#4,0,"gt")}=4</recovery_expression>
<name>Website ({#SITENAME}) - Fail</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Website ({#SITENAME}) - Log</name>
<key>web.tail[{#SITEURL},{#SITEKEYWORD},{#SITEHEADER}]</key>
<delay>30s</delay>
<history>7d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
</item_prototype>
</item_prototypes>
</discovery_rule>
</discovery_rules>
<tags>
<tag>
<tag>web</tag>
</tag>
</tags>
</template>
</templates>
</zabbix_export>