forked from flaviojunior1995/Zabbix-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTemplate_Status.xml
100 lines (100 loc) · 3.32 KB
/
Template_Status.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-12-16T19:23:26Z</date>
<groups>
<group>
<name>Templates_Created</name>
</group>
</groups>
<templates>
<template>
<template>Template Status</template>
<name>Template Status</name>
<description>Monitoria Status do Device
-ICMP
-SNMP test
-Uptime
By: Flavio Gomes Figueira Camacho Junior
Dependency:
Template Module ICMP Ping</description>
<templates>
<template>
<name>Template Module ICMP Ping</name>
</template>
</templates>
<groups>
<group>
<name>Templates_Created</name>
</group>
</groups>
<items>
<item>
<name>Device Uptime</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.2.1.1.3.0</snmp_oid>
<key>system.uptime[sysUpTime]</key>
<history>30d</history>
<trends>0</trends>
<units>uptime</units>
<applications>
<application>
<name>Status</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last()}<86400</expression>
<name>Device Uptime lower then 1 day</name>
<priority>INFO</priority>
</trigger>
</triggers>
</item>
<item>
<name>SNMP Availability</name>
<type>INTERNAL</type>
<key>zabbix[host,snmp,available]</key>
<delay>30m</delay>
<history>7d</history>
<trends>0</trends>
<applications>
<application>
<name>Status</name>
</application>
</applications>
<valuemap>
<name>zabbix.host.available</name>
</valuemap>
</item>
</items>
</template>
</templates>
<value_maps>
<value_map>
<name>zabbix.host.available</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>not available</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>available</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>unknown</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>