forked from fernandobrunelli/Zabbix-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template Module Windows generic by Zabbix agent.xml
177 lines (177 loc) · 7.41 KB
/
Template Module Windows generic by Zabbix agent.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?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 Module Windows generic by Zabbix agent</template>
<name>Template Module Windows generic by Zabbix agent</name>
<description>Template tooling version used: 0.37</description>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<applications>
<application>
<name>General</name>
</application>
<application>
<name>Inventory</name>
</application>
<application>
<name>Status</name>
</application>
</applications>
<items>
<item>
<name>Number of threads</name>
<key>perf_counter_en["\System\Threads"]</key>
<history>7d</history>
<description>The number of threads used by all running processes.</description>
<applications>
<application>
<name>General</name>
</application>
</applications>
</item>
<item>
<name>Number of processes</name>
<key>proc.num[]</key>
<history>7d</history>
<description>The number of processes.</description>
<applications>
<application>
<name>General</name>
</application>
</applications>
</item>
<item>
<name>System name</name>
<key>system.hostname</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>System host name.</description>
<inventory_link>NAME</inventory_link>
<applications>
<application>
<name>General</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{diff()}=1 and {strlen()}>0</expression>
<name>System name has changed (new name: {ITEM.VALUE})</name>
<priority>INFO</priority>
<description>System name has changed. Ack to close.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>System local time</name>
<key>system.localtime</key>
<history>7d</history>
<units>unixtime</units>
<description>System local time of the host.</description>
<applications>
<application>
<name>General</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{fuzzytime({$SYSTEM.FUZZYTIME.MAX})}=0</expression>
<name>System time is out of sync (diff with Zabbix server > {$SYSTEM.FUZZYTIME.MAX}s)</name>
<priority>WARNING</priority>
<description>The host system time is different from the Zabbix server time.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Operating system architecture</name>
<key>system.sw.arch</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>Operating system architecture of the host.</description>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
</item>
<item>
<name>System description</name>
<key>system.uname</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>System description of the host.</description>
<applications>
<application>
<name>General</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
</item>
<item>
<name>Uptime</name>
<key>system.uptime</key>
<delay>30s</delay>
<history>2w</history>
<trends>0d</trends>
<units>uptime</units>
<description>System uptime in 'N days, hh:mm:ss' format.</description>
<applications>
<application>
<name>Status</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}<10m</expression>
<name>Host has been restarted (uptime < 10m)</name>
<priority>WARNING</priority>
<description>The device uptime is less than 10 minutes.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$SYSTEM.FUZZYTIME.MAX}</macro>
<value>60</value>
<description>The threshold for difference of system time in seconds.</description>
</macro>
</macros>
</template>
</templates>
</zabbix_export>