forked from fernandobrunelli/Zabbix-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template App POP Service.xml
63 lines (63 loc) · 1.99 KB
/
Template App POP Service.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
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<templates>
<template>
<template>Template App POP Service</template>
<name>Template App POP Service</name>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<applications>
<application>
<name>POP service</name>
</application>
</applications>
<items>
<item>
<name>POP service is running</name>
<type>SIMPLE</type>
<key>net.tcp.service[pop]</key>
<history>1w</history>
<applications>
<application>
<name>POP service</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<triggers>
<trigger>
<expression>{max(#3)}=0</expression>
<name>POP service is down on {HOST.NAME}</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
</items>
</template>
</templates>
<value_maps>
<value_map>
<name>Service state</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Down</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Up</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>