forked from fernandobrunelli/Zabbix-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template Module Windows memory by Zabbix agent active.xml
320 lines (320 loc) · 15.7 KB
/
Template Module Windows memory by Zabbix agent active.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<?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 memory by Zabbix agent active</template>
<name>Template Module Windows memory by Zabbix agent active</name>
<description>Template tooling version used: 0.37</description>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<items>
<item>
<name>Cache bytes</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Memory\Cache Bytes"]</key>
<history>7d</history>
<units>B</units>
<description>Cache Bytes is the sum of the Memory\\System Cache Resident Bytes, Memory\\System Driver Resident Bytes,
Memory\\System Code Resident Bytes, and Memory\\Pool Paged Resident Bytes counters. This counter displays
the last observed value only; it is not an average.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Free system page table entries</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Memory\Free System Page Table Entries"]</key>
<history>7d</history>
<description>This indicates the number of page table entries not currently in use by the system. If the number is less
than 5,000, there may well be a memory leak or you running out of memory.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{max(5m)}<{$MEM.PAGE_TABLE_CRIT.MIN}</expression>
<name>Number of free system page table entries is too low (less {$MEM.PAGE_TABLE_CRIT.MIN} for 5m)</name>
<priority>WARNING</priority>
<description>The Memory Free System Page Table Entries is less than {$MEM.PAGE_TABLE_CRIT.MIN} for 5 minutes. If the number is less than 5,000, there may well be a memory leak.</description>
<dependencies>
<dependency>
<name>High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<expression>{Template Module Windows memory by Zabbix agent active:vm.memory.util.min(5m)}>{$MEMORY.UTIL.MAX}</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>Memory page faults per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Memory\Page Faults/sec"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>Page Faults/sec is the average number of pages faulted per second. It is measured in number of pages
faulted per second because only one page is faulted in each fault operation, hence this is also equal
to the number of page fault operations. This counter includes both hard faults (those that require
disk access) and soft faults (where the faulted page is found elsewhere in physical memory.) Most
processors can handle large numbers of soft faults without significant consequence. However, hard faults,
which require disk access, can cause significant delays.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Memory pages per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Memory\Pages/sec"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>This measures the rate at which pages are read from or written to disk to resolve hard page faults.
If the value is greater than 1,000, as a result of excessive paging, there may be a memory leak.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(5m)}>{$MEM.PAGE_SEC.CRIT.MAX}</expression>
<name>The Memory Pages/sec is too high (over {$MEM.PAGE_SEC.CRIT.MAX} for 5m)</name>
<priority>WARNING</priority>
<description>The Memory Pages/sec in the last 5 minutes exceeds {$MEM.PAGE_SEC.CRIT.MAX}. If the value is greater than 1,000, as a result of excessive paging, there may be a memory leak.</description>
<dependencies>
<dependency>
<name>High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<expression>{Template Module Windows memory by Zabbix agent active:vm.memory.util.min(5m)}>{$MEMORY.UTIL.MAX}</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>Memory pool non-paged</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Memory\Pool Nonpaged Bytes"]</key>
<history>7d</history>
<units>B</units>
<description>This measures the size, in bytes, of the non-paged pool. This is an area of system memory for objects
that cannot be written to disk but instead must remain in physical memory as long as they are allocated.
There is a possible memory leak if the value is greater than 175MB (or 100MB with the /3GB switch).
A typical Event ID 2019 is recorded in the system event log.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Used swap space in %</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Paging file(_Total)\% Usage"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<description>The used space of swap volume/file in percent.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Free swap space</name>
<type>CALCULATED</type>
<key>system.swap.free</key>
<history>7d</history>
<units>B</units>
<params>last("system.swap.size[,total]") - last("system.swap.size[,total]") / 100 * last("perf_counter_en[\"\Paging file(_Total)\% Usage\"]")</params>
<description>The free space of swap volume/file in bytes.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Free swap space in %</name>
<type>DEPENDENT</type>
<key>system.swap.pfree</key>
<delay>0</delay>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<description>The free space of swap volume/file in percent.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>JAVASCRIPT</type>
<params>return (100 - value)</params>
</step>
</preprocessing>
<master_item>
<key>perf_counter_en["\Paging file(_Total)\% Usage"]</key>
</master_item>
</item>
<item>
<name>Total swap space</name>
<type>ZABBIX_ACTIVE</type>
<key>system.swap.size[,total]</key>
<history>7d</history>
<units>B</units>
<description>The total space of swap volume/file in bytes.</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Total memory</name>
<type>ZABBIX_ACTIVE</type>
<key>vm.memory.size[total]</key>
<history>7d</history>
<units>B</units>
<description>Total memory in Bytes</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Used memory</name>
<type>ZABBIX_ACTIVE</type>
<key>vm.memory.size[used]</key>
<history>7d</history>
<units>B</units>
<description>Used memory in Bytes</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Memory utilization</name>
<type>CALCULATED</type>
<key>vm.memory.util</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<params>last("vm.memory.size[used]") / last("vm.memory.size[total]") * 100</params>
<description>Memory utilization in %</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(5m)}>{$MEMORY.UTIL.MAX}</expression>
<name>High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<priority>AVERAGE</priority>
<description>The system is running out of free memory.</description>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$MEM.PAGE_SEC.CRIT.MAX}</macro>
<value>1000</value>
<description>The warning threshold of the Memory Pages/sec counter.</description>
</macro>
<macro>
<macro>{$MEM.PAGE_TABLE_CRIT.MIN}</macro>
<value>5000</value>
<description>The warning threshold of the Free System Page Table Entries counter.</description>
</macro>
<macro>
<macro>{$MEMORY.UTIL.MAX}</macro>
<value>90</value>
<description>The warning threshold of the Memory util item.</description>
</macro>
<macro>
<macro>{$SWAP.PFREE.MIN.WARN}</macro>
<value>20</value>
<description>The warning threshold of the minimum free swap.</description>
</macro>
</macros>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template Module Windows memory by Zabbix agent active:system.swap.pfree.min(5m)}<{$SWAP.PFREE.MIN.WARN} and {Template Module Windows memory by Zabbix agent active:system.swap.size[,total].last()}>0</expression>
<name>High swap space usage ( less than {$SWAP.PFREE.MIN.WARN}% free)</name>
<opdata>Free: {ITEM.LASTVALUE1}, total: {ITEM.LASTVALUE2}</opdata>
<priority>WARNING</priority>
<description>This trigger is ignored, if there is no swap configured</description>
<dependencies>
<dependency>
<name>High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<expression>{Template Module Windows memory by Zabbix agent active:vm.memory.util.min(5m)}>{$MEMORY.UTIL.MAX}</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
<graphs>
<graph>
<name>Memory utilization</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template Module Windows memory by Zabbix agent active</host>
<key>vm.memory.util</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Swap usage</name>
<graph_items>
<graph_item>
<color>1A7C11</color>
<item>
<host>Template Module Windows memory by Zabbix agent active</host>
<key>system.swap.free</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>2774A4</color>
<item>
<host>Template Module Windows memory by Zabbix agent active</host>
<key>system.swap.size[,total]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>