-
Notifications
You must be signed in to change notification settings - Fork 2
/
zabbix_template.xml
58 lines (58 loc) · 2.31 KB
/
zabbix_template.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
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2020-11-11T14:36:14Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template NVMe</template>
<name>Template NVMe</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>NVMe Disks</name>
</application>
</applications>
<discovery_rules>
<discovery_rule>
<name>NVMe Disks List</name>
<key>nvme.discovery</key>
<delay>1h</delay>
<lifetime>0</lifetime>
<item_prototypes>
<item_prototype>
<name>NVMe {#NVMENAME} Health</name>
<key>nvme.disk_health["{#NVMENAME}"]</key>
<delay>1h</delay>
<history>10d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>NVMe Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}>=80</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}<=80</recovery_expression>
<name>{HOST.NAME} {#NVMENAME} wear level is {ITEM.VALUE}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
</discovery_rules>
</template>
</templates>
</zabbix_export>