zabbix-ruby-client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/README.md +5 -5
- data/lib/zabbix-ruby-client.rb +19 -7
- data/lib/zabbix-ruby-client/plugins/cpu.rb +10 -3
- data/lib/zabbix-ruby-client/plugins/disk.rb +5 -0
- data/lib/zabbix-ruby-client/plugins/memory.rb +1 -1
- data/lib/zabbix-ruby-client/plugins/network.rb +16 -10
- data/lib/zabbix-ruby-client/version.rb +1 -1
- data/templates/client/config.yml +4 -2
- data/zabbix-templates/apache_tpl.xml +1143 -0
- data/zabbix-templates/cpu_tpl.xml +1023 -0
- data/zabbix-templates/memory_tpl.xml +550 -0
- data/zabbix-templates/network_tpl.xml +419 -0
- metadata +17 -29
@@ -0,0 +1,1023 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<zabbix_export>
|
3
|
+
<version>2.0</version>
|
4
|
+
<date>2013-09-23T07:01:52Z</date>
|
5
|
+
<groups>
|
6
|
+
<group>
|
7
|
+
<name>Linux servers</name>
|
8
|
+
</group>
|
9
|
+
</groups>
|
10
|
+
<templates>
|
11
|
+
<template>
|
12
|
+
<template>CPU zrc</template>
|
13
|
+
<name>CPU (zrc)</name>
|
14
|
+
<groups>
|
15
|
+
<group>
|
16
|
+
<name>Linux servers</name>
|
17
|
+
</group>
|
18
|
+
</groups>
|
19
|
+
<applications>
|
20
|
+
<application>
|
21
|
+
<name>CPU</name>
|
22
|
+
</application>
|
23
|
+
</applications>
|
24
|
+
<items>
|
25
|
+
<item>
|
26
|
+
<name>CPU guest</name>
|
27
|
+
<type>2</type>
|
28
|
+
<snmp_community/>
|
29
|
+
<multiplier>0</multiplier>
|
30
|
+
<snmp_oid/>
|
31
|
+
<key>cpu[guest]</key>
|
32
|
+
<delay>0</delay>
|
33
|
+
<history>90</history>
|
34
|
+
<trends>365</trends>
|
35
|
+
<status>0</status>
|
36
|
+
<value_type>3</value_type>
|
37
|
+
<allowed_hosts/>
|
38
|
+
<units/>
|
39
|
+
<delta>2</delta>
|
40
|
+
<snmpv3_securityname/>
|
41
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
42
|
+
<snmpv3_authpassphrase/>
|
43
|
+
<snmpv3_privpassphrase/>
|
44
|
+
<formula>1</formula>
|
45
|
+
<delay_flex/>
|
46
|
+
<params/>
|
47
|
+
<ipmi_sensor/>
|
48
|
+
<data_type>0</data_type>
|
49
|
+
<authtype>0</authtype>
|
50
|
+
<username/>
|
51
|
+
<password/>
|
52
|
+
<publickey/>
|
53
|
+
<privatekey/>
|
54
|
+
<port/>
|
55
|
+
<description/>
|
56
|
+
<inventory_link>0</inventory_link>
|
57
|
+
<applications>
|
58
|
+
<application>
|
59
|
+
<name>CPU</name>
|
60
|
+
</application>
|
61
|
+
</applications>
|
62
|
+
<valuemap/>
|
63
|
+
</item>
|
64
|
+
<item>
|
65
|
+
<name>CPU guest %</name>
|
66
|
+
<type>15</type>
|
67
|
+
<snmp_community/>
|
68
|
+
<multiplier>0</multiplier>
|
69
|
+
<snmp_oid/>
|
70
|
+
<key>cpu[guest_percent]</key>
|
71
|
+
<delay>60</delay>
|
72
|
+
<history>90</history>
|
73
|
+
<trends>365</trends>
|
74
|
+
<status>0</status>
|
75
|
+
<value_type>0</value_type>
|
76
|
+
<allowed_hosts/>
|
77
|
+
<units>%</units>
|
78
|
+
<delta>0</delta>
|
79
|
+
<snmpv3_securityname/>
|
80
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
81
|
+
<snmpv3_authpassphrase/>
|
82
|
+
<snmpv3_privpassphrase/>
|
83
|
+
<formula>1</formula>
|
84
|
+
<delay_flex/>
|
85
|
+
<params>100 * last("cpu[guest]") / last("cpu[total]")</params>
|
86
|
+
<ipmi_sensor/>
|
87
|
+
<data_type>0</data_type>
|
88
|
+
<authtype>0</authtype>
|
89
|
+
<username/>
|
90
|
+
<password/>
|
91
|
+
<publickey/>
|
92
|
+
<privatekey/>
|
93
|
+
<port/>
|
94
|
+
<description/>
|
95
|
+
<inventory_link>0</inventory_link>
|
96
|
+
<applications>
|
97
|
+
<application>
|
98
|
+
<name>CPU</name>
|
99
|
+
</application>
|
100
|
+
</applications>
|
101
|
+
<valuemap/>
|
102
|
+
</item>
|
103
|
+
<item>
|
104
|
+
<name>CPU idle</name>
|
105
|
+
<type>2</type>
|
106
|
+
<snmp_community/>
|
107
|
+
<multiplier>0</multiplier>
|
108
|
+
<snmp_oid/>
|
109
|
+
<key>cpu[idle]</key>
|
110
|
+
<delay>0</delay>
|
111
|
+
<history>90</history>
|
112
|
+
<trends>365</trends>
|
113
|
+
<status>0</status>
|
114
|
+
<value_type>3</value_type>
|
115
|
+
<allowed_hosts/>
|
116
|
+
<units/>
|
117
|
+
<delta>2</delta>
|
118
|
+
<snmpv3_securityname/>
|
119
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
120
|
+
<snmpv3_authpassphrase/>
|
121
|
+
<snmpv3_privpassphrase/>
|
122
|
+
<formula>1</formula>
|
123
|
+
<delay_flex/>
|
124
|
+
<params/>
|
125
|
+
<ipmi_sensor/>
|
126
|
+
<data_type>0</data_type>
|
127
|
+
<authtype>0</authtype>
|
128
|
+
<username/>
|
129
|
+
<password/>
|
130
|
+
<publickey/>
|
131
|
+
<privatekey/>
|
132
|
+
<port/>
|
133
|
+
<description/>
|
134
|
+
<inventory_link>0</inventory_link>
|
135
|
+
<applications>
|
136
|
+
<application>
|
137
|
+
<name>CPU</name>
|
138
|
+
</application>
|
139
|
+
</applications>
|
140
|
+
<valuemap/>
|
141
|
+
</item>
|
142
|
+
<item>
|
143
|
+
<name>CPU idle %</name>
|
144
|
+
<type>15</type>
|
145
|
+
<snmp_community/>
|
146
|
+
<multiplier>0</multiplier>
|
147
|
+
<snmp_oid/>
|
148
|
+
<key>cpu[idle_percent]</key>
|
149
|
+
<delay>60</delay>
|
150
|
+
<history>90</history>
|
151
|
+
<trends>365</trends>
|
152
|
+
<status>0</status>
|
153
|
+
<value_type>0</value_type>
|
154
|
+
<allowed_hosts/>
|
155
|
+
<units>%</units>
|
156
|
+
<delta>0</delta>
|
157
|
+
<snmpv3_securityname/>
|
158
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
159
|
+
<snmpv3_authpassphrase/>
|
160
|
+
<snmpv3_privpassphrase/>
|
161
|
+
<formula>1</formula>
|
162
|
+
<delay_flex/>
|
163
|
+
<params>100 * last("cpu[idle]") / last("cpu[total]")</params>
|
164
|
+
<ipmi_sensor/>
|
165
|
+
<data_type>0</data_type>
|
166
|
+
<authtype>0</authtype>
|
167
|
+
<username/>
|
168
|
+
<password/>
|
169
|
+
<publickey/>
|
170
|
+
<privatekey/>
|
171
|
+
<port/>
|
172
|
+
<description/>
|
173
|
+
<inventory_link>0</inventory_link>
|
174
|
+
<applications>
|
175
|
+
<application>
|
176
|
+
<name>CPU</name>
|
177
|
+
</application>
|
178
|
+
</applications>
|
179
|
+
<valuemap/>
|
180
|
+
</item>
|
181
|
+
<item>
|
182
|
+
<name>CPU iowait</name>
|
183
|
+
<type>2</type>
|
184
|
+
<snmp_community/>
|
185
|
+
<multiplier>0</multiplier>
|
186
|
+
<snmp_oid/>
|
187
|
+
<key>cpu[iowait]</key>
|
188
|
+
<delay>0</delay>
|
189
|
+
<history>90</history>
|
190
|
+
<trends>365</trends>
|
191
|
+
<status>0</status>
|
192
|
+
<value_type>3</value_type>
|
193
|
+
<allowed_hosts/>
|
194
|
+
<units/>
|
195
|
+
<delta>2</delta>
|
196
|
+
<snmpv3_securityname/>
|
197
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
198
|
+
<snmpv3_authpassphrase/>
|
199
|
+
<snmpv3_privpassphrase/>
|
200
|
+
<formula>1</formula>
|
201
|
+
<delay_flex/>
|
202
|
+
<params/>
|
203
|
+
<ipmi_sensor/>
|
204
|
+
<data_type>0</data_type>
|
205
|
+
<authtype>0</authtype>
|
206
|
+
<username/>
|
207
|
+
<password/>
|
208
|
+
<publickey/>
|
209
|
+
<privatekey/>
|
210
|
+
<port/>
|
211
|
+
<description/>
|
212
|
+
<inventory_link>0</inventory_link>
|
213
|
+
<applications>
|
214
|
+
<application>
|
215
|
+
<name>CPU</name>
|
216
|
+
</application>
|
217
|
+
</applications>
|
218
|
+
<valuemap/>
|
219
|
+
</item>
|
220
|
+
<item>
|
221
|
+
<name>CPU iowait %</name>
|
222
|
+
<type>15</type>
|
223
|
+
<snmp_community/>
|
224
|
+
<multiplier>0</multiplier>
|
225
|
+
<snmp_oid/>
|
226
|
+
<key>cpu[iowait_percent]</key>
|
227
|
+
<delay>60</delay>
|
228
|
+
<history>90</history>
|
229
|
+
<trends>365</trends>
|
230
|
+
<status>0</status>
|
231
|
+
<value_type>0</value_type>
|
232
|
+
<allowed_hosts/>
|
233
|
+
<units>%</units>
|
234
|
+
<delta>0</delta>
|
235
|
+
<snmpv3_securityname/>
|
236
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
237
|
+
<snmpv3_authpassphrase/>
|
238
|
+
<snmpv3_privpassphrase/>
|
239
|
+
<formula>1</formula>
|
240
|
+
<delay_flex/>
|
241
|
+
<params>100 * last("cpu[iowait]") / last("cpu[total]")</params>
|
242
|
+
<ipmi_sensor/>
|
243
|
+
<data_type>0</data_type>
|
244
|
+
<authtype>0</authtype>
|
245
|
+
<username/>
|
246
|
+
<password/>
|
247
|
+
<publickey/>
|
248
|
+
<privatekey/>
|
249
|
+
<port/>
|
250
|
+
<description/>
|
251
|
+
<inventory_link>0</inventory_link>
|
252
|
+
<applications>
|
253
|
+
<application>
|
254
|
+
<name>CPU</name>
|
255
|
+
</application>
|
256
|
+
</applications>
|
257
|
+
<valuemap/>
|
258
|
+
</item>
|
259
|
+
<item>
|
260
|
+
<name>CPU irq</name>
|
261
|
+
<type>2</type>
|
262
|
+
<snmp_community/>
|
263
|
+
<multiplier>0</multiplier>
|
264
|
+
<snmp_oid/>
|
265
|
+
<key>cpu[irq]</key>
|
266
|
+
<delay>0</delay>
|
267
|
+
<history>90</history>
|
268
|
+
<trends>365</trends>
|
269
|
+
<status>0</status>
|
270
|
+
<value_type>3</value_type>
|
271
|
+
<allowed_hosts/>
|
272
|
+
<units/>
|
273
|
+
<delta>2</delta>
|
274
|
+
<snmpv3_securityname/>
|
275
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
276
|
+
<snmpv3_authpassphrase/>
|
277
|
+
<snmpv3_privpassphrase/>
|
278
|
+
<formula>1</formula>
|
279
|
+
<delay_flex/>
|
280
|
+
<params/>
|
281
|
+
<ipmi_sensor/>
|
282
|
+
<data_type>0</data_type>
|
283
|
+
<authtype>0</authtype>
|
284
|
+
<username/>
|
285
|
+
<password/>
|
286
|
+
<publickey/>
|
287
|
+
<privatekey/>
|
288
|
+
<port/>
|
289
|
+
<description/>
|
290
|
+
<inventory_link>0</inventory_link>
|
291
|
+
<applications>
|
292
|
+
<application>
|
293
|
+
<name>CPU</name>
|
294
|
+
</application>
|
295
|
+
</applications>
|
296
|
+
<valuemap/>
|
297
|
+
</item>
|
298
|
+
<item>
|
299
|
+
<name>CPU irq %</name>
|
300
|
+
<type>15</type>
|
301
|
+
<snmp_community/>
|
302
|
+
<multiplier>0</multiplier>
|
303
|
+
<snmp_oid/>
|
304
|
+
<key>cpu[irq_percent]</key>
|
305
|
+
<delay>60</delay>
|
306
|
+
<history>90</history>
|
307
|
+
<trends>365</trends>
|
308
|
+
<status>0</status>
|
309
|
+
<value_type>0</value_type>
|
310
|
+
<allowed_hosts/>
|
311
|
+
<units>%</units>
|
312
|
+
<delta>0</delta>
|
313
|
+
<snmpv3_securityname/>
|
314
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
315
|
+
<snmpv3_authpassphrase/>
|
316
|
+
<snmpv3_privpassphrase/>
|
317
|
+
<formula>1</formula>
|
318
|
+
<delay_flex/>
|
319
|
+
<params>100 * last("cpu[irq]") / last("cpu[total]")</params>
|
320
|
+
<ipmi_sensor/>
|
321
|
+
<data_type>0</data_type>
|
322
|
+
<authtype>0</authtype>
|
323
|
+
<username/>
|
324
|
+
<password/>
|
325
|
+
<publickey/>
|
326
|
+
<privatekey/>
|
327
|
+
<port/>
|
328
|
+
<description/>
|
329
|
+
<inventory_link>0</inventory_link>
|
330
|
+
<applications>
|
331
|
+
<application>
|
332
|
+
<name>CPU</name>
|
333
|
+
</application>
|
334
|
+
</applications>
|
335
|
+
<valuemap/>
|
336
|
+
</item>
|
337
|
+
<item>
|
338
|
+
<name>CPU nice</name>
|
339
|
+
<type>2</type>
|
340
|
+
<snmp_community/>
|
341
|
+
<multiplier>0</multiplier>
|
342
|
+
<snmp_oid/>
|
343
|
+
<key>cpu[nice]</key>
|
344
|
+
<delay>0</delay>
|
345
|
+
<history>90</history>
|
346
|
+
<trends>365</trends>
|
347
|
+
<status>0</status>
|
348
|
+
<value_type>3</value_type>
|
349
|
+
<allowed_hosts/>
|
350
|
+
<units/>
|
351
|
+
<delta>2</delta>
|
352
|
+
<snmpv3_securityname/>
|
353
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
354
|
+
<snmpv3_authpassphrase/>
|
355
|
+
<snmpv3_privpassphrase/>
|
356
|
+
<formula>1</formula>
|
357
|
+
<delay_flex/>
|
358
|
+
<params/>
|
359
|
+
<ipmi_sensor/>
|
360
|
+
<data_type>0</data_type>
|
361
|
+
<authtype>0</authtype>
|
362
|
+
<username/>
|
363
|
+
<password/>
|
364
|
+
<publickey/>
|
365
|
+
<privatekey/>
|
366
|
+
<port/>
|
367
|
+
<description/>
|
368
|
+
<inventory_link>0</inventory_link>
|
369
|
+
<applications>
|
370
|
+
<application>
|
371
|
+
<name>CPU</name>
|
372
|
+
</application>
|
373
|
+
</applications>
|
374
|
+
<valuemap/>
|
375
|
+
</item>
|
376
|
+
<item>
|
377
|
+
<name>CPU nice %</name>
|
378
|
+
<type>15</type>
|
379
|
+
<snmp_community/>
|
380
|
+
<multiplier>0</multiplier>
|
381
|
+
<snmp_oid/>
|
382
|
+
<key>cpu[nice_percent]</key>
|
383
|
+
<delay>60</delay>
|
384
|
+
<history>90</history>
|
385
|
+
<trends>365</trends>
|
386
|
+
<status>0</status>
|
387
|
+
<value_type>0</value_type>
|
388
|
+
<allowed_hosts/>
|
389
|
+
<units>%</units>
|
390
|
+
<delta>0</delta>
|
391
|
+
<snmpv3_securityname/>
|
392
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
393
|
+
<snmpv3_authpassphrase/>
|
394
|
+
<snmpv3_privpassphrase/>
|
395
|
+
<formula>1</formula>
|
396
|
+
<delay_flex/>
|
397
|
+
<params>100 * last("cpu[nice]") / last("cpu[total]")</params>
|
398
|
+
<ipmi_sensor/>
|
399
|
+
<data_type>0</data_type>
|
400
|
+
<authtype>0</authtype>
|
401
|
+
<username/>
|
402
|
+
<password/>
|
403
|
+
<publickey/>
|
404
|
+
<privatekey/>
|
405
|
+
<port/>
|
406
|
+
<description/>
|
407
|
+
<inventory_link>0</inventory_link>
|
408
|
+
<applications>
|
409
|
+
<application>
|
410
|
+
<name>CPU</name>
|
411
|
+
</application>
|
412
|
+
</applications>
|
413
|
+
<valuemap/>
|
414
|
+
</item>
|
415
|
+
<item>
|
416
|
+
<name>CPU soft</name>
|
417
|
+
<type>2</type>
|
418
|
+
<snmp_community/>
|
419
|
+
<multiplier>0</multiplier>
|
420
|
+
<snmp_oid/>
|
421
|
+
<key>cpu[soft]</key>
|
422
|
+
<delay>0</delay>
|
423
|
+
<history>90</history>
|
424
|
+
<trends>365</trends>
|
425
|
+
<status>0</status>
|
426
|
+
<value_type>3</value_type>
|
427
|
+
<allowed_hosts/>
|
428
|
+
<units/>
|
429
|
+
<delta>2</delta>
|
430
|
+
<snmpv3_securityname/>
|
431
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
432
|
+
<snmpv3_authpassphrase/>
|
433
|
+
<snmpv3_privpassphrase/>
|
434
|
+
<formula>1</formula>
|
435
|
+
<delay_flex/>
|
436
|
+
<params/>
|
437
|
+
<ipmi_sensor/>
|
438
|
+
<data_type>0</data_type>
|
439
|
+
<authtype>0</authtype>
|
440
|
+
<username/>
|
441
|
+
<password/>
|
442
|
+
<publickey/>
|
443
|
+
<privatekey/>
|
444
|
+
<port/>
|
445
|
+
<description/>
|
446
|
+
<inventory_link>0</inventory_link>
|
447
|
+
<applications>
|
448
|
+
<application>
|
449
|
+
<name>CPU</name>
|
450
|
+
</application>
|
451
|
+
</applications>
|
452
|
+
<valuemap/>
|
453
|
+
</item>
|
454
|
+
<item>
|
455
|
+
<name>CPU soft %</name>
|
456
|
+
<type>15</type>
|
457
|
+
<snmp_community/>
|
458
|
+
<multiplier>0</multiplier>
|
459
|
+
<snmp_oid/>
|
460
|
+
<key>cpu[soft_percent]</key>
|
461
|
+
<delay>60</delay>
|
462
|
+
<history>90</history>
|
463
|
+
<trends>365</trends>
|
464
|
+
<status>0</status>
|
465
|
+
<value_type>0</value_type>
|
466
|
+
<allowed_hosts/>
|
467
|
+
<units>%</units>
|
468
|
+
<delta>0</delta>
|
469
|
+
<snmpv3_securityname/>
|
470
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
471
|
+
<snmpv3_authpassphrase/>
|
472
|
+
<snmpv3_privpassphrase/>
|
473
|
+
<formula>1</formula>
|
474
|
+
<delay_flex/>
|
475
|
+
<params>100 * last("cpu[soft]") / last("cpu[total]")</params>
|
476
|
+
<ipmi_sensor/>
|
477
|
+
<data_type>0</data_type>
|
478
|
+
<authtype>0</authtype>
|
479
|
+
<username/>
|
480
|
+
<password/>
|
481
|
+
<publickey/>
|
482
|
+
<privatekey/>
|
483
|
+
<port/>
|
484
|
+
<description/>
|
485
|
+
<inventory_link>0</inventory_link>
|
486
|
+
<applications>
|
487
|
+
<application>
|
488
|
+
<name>CPU</name>
|
489
|
+
</application>
|
490
|
+
</applications>
|
491
|
+
<valuemap/>
|
492
|
+
</item>
|
493
|
+
<item>
|
494
|
+
<name>CPU steal</name>
|
495
|
+
<type>2</type>
|
496
|
+
<snmp_community/>
|
497
|
+
<multiplier>0</multiplier>
|
498
|
+
<snmp_oid/>
|
499
|
+
<key>cpu[steal]</key>
|
500
|
+
<delay>0</delay>
|
501
|
+
<history>90</history>
|
502
|
+
<trends>365</trends>
|
503
|
+
<status>0</status>
|
504
|
+
<value_type>3</value_type>
|
505
|
+
<allowed_hosts/>
|
506
|
+
<units/>
|
507
|
+
<delta>2</delta>
|
508
|
+
<snmpv3_securityname/>
|
509
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
510
|
+
<snmpv3_authpassphrase/>
|
511
|
+
<snmpv3_privpassphrase/>
|
512
|
+
<formula>1</formula>
|
513
|
+
<delay_flex/>
|
514
|
+
<params/>
|
515
|
+
<ipmi_sensor/>
|
516
|
+
<data_type>0</data_type>
|
517
|
+
<authtype>0</authtype>
|
518
|
+
<username/>
|
519
|
+
<password/>
|
520
|
+
<publickey/>
|
521
|
+
<privatekey/>
|
522
|
+
<port/>
|
523
|
+
<description/>
|
524
|
+
<inventory_link>0</inventory_link>
|
525
|
+
<applications>
|
526
|
+
<application>
|
527
|
+
<name>CPU</name>
|
528
|
+
</application>
|
529
|
+
</applications>
|
530
|
+
<valuemap/>
|
531
|
+
</item>
|
532
|
+
<item>
|
533
|
+
<name>CPU steal %</name>
|
534
|
+
<type>15</type>
|
535
|
+
<snmp_community/>
|
536
|
+
<multiplier>0</multiplier>
|
537
|
+
<snmp_oid/>
|
538
|
+
<key>cpu[steal_percent]</key>
|
539
|
+
<delay>60</delay>
|
540
|
+
<history>90</history>
|
541
|
+
<trends>365</trends>
|
542
|
+
<status>0</status>
|
543
|
+
<value_type>0</value_type>
|
544
|
+
<allowed_hosts/>
|
545
|
+
<units>%</units>
|
546
|
+
<delta>0</delta>
|
547
|
+
<snmpv3_securityname/>
|
548
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
549
|
+
<snmpv3_authpassphrase/>
|
550
|
+
<snmpv3_privpassphrase/>
|
551
|
+
<formula>1</formula>
|
552
|
+
<delay_flex/>
|
553
|
+
<params>100 * last("cpu[steal]") / last("cpu[total]")</params>
|
554
|
+
<ipmi_sensor/>
|
555
|
+
<data_type>0</data_type>
|
556
|
+
<authtype>0</authtype>
|
557
|
+
<username/>
|
558
|
+
<password/>
|
559
|
+
<publickey/>
|
560
|
+
<privatekey/>
|
561
|
+
<port/>
|
562
|
+
<description/>
|
563
|
+
<inventory_link>0</inventory_link>
|
564
|
+
<applications>
|
565
|
+
<application>
|
566
|
+
<name>CPU</name>
|
567
|
+
</application>
|
568
|
+
</applications>
|
569
|
+
<valuemap/>
|
570
|
+
</item>
|
571
|
+
<item>
|
572
|
+
<name>CPU system</name>
|
573
|
+
<type>2</type>
|
574
|
+
<snmp_community/>
|
575
|
+
<multiplier>0</multiplier>
|
576
|
+
<snmp_oid/>
|
577
|
+
<key>cpu[system]</key>
|
578
|
+
<delay>0</delay>
|
579
|
+
<history>90</history>
|
580
|
+
<trends>365</trends>
|
581
|
+
<status>0</status>
|
582
|
+
<value_type>3</value_type>
|
583
|
+
<allowed_hosts/>
|
584
|
+
<units/>
|
585
|
+
<delta>2</delta>
|
586
|
+
<snmpv3_securityname/>
|
587
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
588
|
+
<snmpv3_authpassphrase/>
|
589
|
+
<snmpv3_privpassphrase/>
|
590
|
+
<formula>1</formula>
|
591
|
+
<delay_flex/>
|
592
|
+
<params/>
|
593
|
+
<ipmi_sensor/>
|
594
|
+
<data_type>0</data_type>
|
595
|
+
<authtype>0</authtype>
|
596
|
+
<username/>
|
597
|
+
<password/>
|
598
|
+
<publickey/>
|
599
|
+
<privatekey/>
|
600
|
+
<port/>
|
601
|
+
<description/>
|
602
|
+
<inventory_link>0</inventory_link>
|
603
|
+
<applications>
|
604
|
+
<application>
|
605
|
+
<name>CPU</name>
|
606
|
+
</application>
|
607
|
+
</applications>
|
608
|
+
<valuemap/>
|
609
|
+
</item>
|
610
|
+
<item>
|
611
|
+
<name>CPU system %</name>
|
612
|
+
<type>15</type>
|
613
|
+
<snmp_community/>
|
614
|
+
<multiplier>0</multiplier>
|
615
|
+
<snmp_oid/>
|
616
|
+
<key>cpu[system_percent]</key>
|
617
|
+
<delay>60</delay>
|
618
|
+
<history>90</history>
|
619
|
+
<trends>365</trends>
|
620
|
+
<status>0</status>
|
621
|
+
<value_type>0</value_type>
|
622
|
+
<allowed_hosts/>
|
623
|
+
<units>%</units>
|
624
|
+
<delta>0</delta>
|
625
|
+
<snmpv3_securityname/>
|
626
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
627
|
+
<snmpv3_authpassphrase/>
|
628
|
+
<snmpv3_privpassphrase/>
|
629
|
+
<formula>1</formula>
|
630
|
+
<delay_flex/>
|
631
|
+
<params>100 * last("cpu[system]") / last("cpu[total]")</params>
|
632
|
+
<ipmi_sensor/>
|
633
|
+
<data_type>0</data_type>
|
634
|
+
<authtype>0</authtype>
|
635
|
+
<username/>
|
636
|
+
<password/>
|
637
|
+
<publickey/>
|
638
|
+
<privatekey/>
|
639
|
+
<port/>
|
640
|
+
<description/>
|
641
|
+
<inventory_link>0</inventory_link>
|
642
|
+
<applications>
|
643
|
+
<application>
|
644
|
+
<name>CPU</name>
|
645
|
+
</application>
|
646
|
+
</applications>
|
647
|
+
<valuemap/>
|
648
|
+
</item>
|
649
|
+
<item>
|
650
|
+
<name>CPU total</name>
|
651
|
+
<type>2</type>
|
652
|
+
<snmp_community/>
|
653
|
+
<multiplier>0</multiplier>
|
654
|
+
<snmp_oid/>
|
655
|
+
<key>cpu[total]</key>
|
656
|
+
<delay>0</delay>
|
657
|
+
<history>90</history>
|
658
|
+
<trends>365</trends>
|
659
|
+
<status>0</status>
|
660
|
+
<value_type>3</value_type>
|
661
|
+
<allowed_hosts/>
|
662
|
+
<units/>
|
663
|
+
<delta>2</delta>
|
664
|
+
<snmpv3_securityname/>
|
665
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
666
|
+
<snmpv3_authpassphrase/>
|
667
|
+
<snmpv3_privpassphrase/>
|
668
|
+
<formula>1</formula>
|
669
|
+
<delay_flex/>
|
670
|
+
<params/>
|
671
|
+
<ipmi_sensor/>
|
672
|
+
<data_type>0</data_type>
|
673
|
+
<authtype>0</authtype>
|
674
|
+
<username/>
|
675
|
+
<password/>
|
676
|
+
<publickey/>
|
677
|
+
<privatekey/>
|
678
|
+
<port/>
|
679
|
+
<description/>
|
680
|
+
<inventory_link>0</inventory_link>
|
681
|
+
<applications>
|
682
|
+
<application>
|
683
|
+
<name>CPU</name>
|
684
|
+
</application>
|
685
|
+
</applications>
|
686
|
+
<valuemap/>
|
687
|
+
</item>
|
688
|
+
<item>
|
689
|
+
<name>CPU used</name>
|
690
|
+
<type>2</type>
|
691
|
+
<snmp_community/>
|
692
|
+
<multiplier>0</multiplier>
|
693
|
+
<snmp_oid/>
|
694
|
+
<key>cpu[used]</key>
|
695
|
+
<delay>0</delay>
|
696
|
+
<history>90</history>
|
697
|
+
<trends>365</trends>
|
698
|
+
<status>0</status>
|
699
|
+
<value_type>3</value_type>
|
700
|
+
<allowed_hosts/>
|
701
|
+
<units/>
|
702
|
+
<delta>2</delta>
|
703
|
+
<snmpv3_securityname/>
|
704
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
705
|
+
<snmpv3_authpassphrase/>
|
706
|
+
<snmpv3_privpassphrase/>
|
707
|
+
<formula>1</formula>
|
708
|
+
<delay_flex/>
|
709
|
+
<params/>
|
710
|
+
<ipmi_sensor/>
|
711
|
+
<data_type>0</data_type>
|
712
|
+
<authtype>0</authtype>
|
713
|
+
<username/>
|
714
|
+
<password/>
|
715
|
+
<publickey/>
|
716
|
+
<privatekey/>
|
717
|
+
<port/>
|
718
|
+
<description/>
|
719
|
+
<inventory_link>0</inventory_link>
|
720
|
+
<applications>
|
721
|
+
<application>
|
722
|
+
<name>CPU</name>
|
723
|
+
</application>
|
724
|
+
</applications>
|
725
|
+
<valuemap/>
|
726
|
+
</item>
|
727
|
+
<item>
|
728
|
+
<name>CPU used %</name>
|
729
|
+
<type>15</type>
|
730
|
+
<snmp_community/>
|
731
|
+
<multiplier>0</multiplier>
|
732
|
+
<snmp_oid/>
|
733
|
+
<key>cpu[used_percent]</key>
|
734
|
+
<delay>60</delay>
|
735
|
+
<history>90</history>
|
736
|
+
<trends>365</trends>
|
737
|
+
<status>0</status>
|
738
|
+
<value_type>0</value_type>
|
739
|
+
<allowed_hosts/>
|
740
|
+
<units>%</units>
|
741
|
+
<delta>0</delta>
|
742
|
+
<snmpv3_securityname/>
|
743
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
744
|
+
<snmpv3_authpassphrase/>
|
745
|
+
<snmpv3_privpassphrase/>
|
746
|
+
<formula>1</formula>
|
747
|
+
<delay_flex/>
|
748
|
+
<params>100 * last("cpu[used]") / last("cpu[total]")</params>
|
749
|
+
<ipmi_sensor/>
|
750
|
+
<data_type>0</data_type>
|
751
|
+
<authtype>0</authtype>
|
752
|
+
<username/>
|
753
|
+
<password/>
|
754
|
+
<publickey/>
|
755
|
+
<privatekey/>
|
756
|
+
<port/>
|
757
|
+
<description/>
|
758
|
+
<inventory_link>0</inventory_link>
|
759
|
+
<applications>
|
760
|
+
<application>
|
761
|
+
<name>CPU</name>
|
762
|
+
</application>
|
763
|
+
</applications>
|
764
|
+
<valuemap/>
|
765
|
+
</item>
|
766
|
+
<item>
|
767
|
+
<name>CPU user</name>
|
768
|
+
<type>2</type>
|
769
|
+
<snmp_community/>
|
770
|
+
<multiplier>0</multiplier>
|
771
|
+
<snmp_oid/>
|
772
|
+
<key>cpu[user]</key>
|
773
|
+
<delay>0</delay>
|
774
|
+
<history>90</history>
|
775
|
+
<trends>365</trends>
|
776
|
+
<status>0</status>
|
777
|
+
<value_type>3</value_type>
|
778
|
+
<allowed_hosts/>
|
779
|
+
<units/>
|
780
|
+
<delta>2</delta>
|
781
|
+
<snmpv3_securityname/>
|
782
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
783
|
+
<snmpv3_authpassphrase/>
|
784
|
+
<snmpv3_privpassphrase/>
|
785
|
+
<formula>1</formula>
|
786
|
+
<delay_flex/>
|
787
|
+
<params/>
|
788
|
+
<ipmi_sensor/>
|
789
|
+
<data_type>0</data_type>
|
790
|
+
<authtype>0</authtype>
|
791
|
+
<username/>
|
792
|
+
<password/>
|
793
|
+
<publickey/>
|
794
|
+
<privatekey/>
|
795
|
+
<port/>
|
796
|
+
<description/>
|
797
|
+
<inventory_link>0</inventory_link>
|
798
|
+
<applications>
|
799
|
+
<application>
|
800
|
+
<name>CPU</name>
|
801
|
+
</application>
|
802
|
+
</applications>
|
803
|
+
<valuemap/>
|
804
|
+
</item>
|
805
|
+
<item>
|
806
|
+
<name>CPU user %</name>
|
807
|
+
<type>15</type>
|
808
|
+
<snmp_community/>
|
809
|
+
<multiplier>0</multiplier>
|
810
|
+
<snmp_oid/>
|
811
|
+
<key>cpu[user_percent]</key>
|
812
|
+
<delay>60</delay>
|
813
|
+
<history>90</history>
|
814
|
+
<trends>365</trends>
|
815
|
+
<status>0</status>
|
816
|
+
<value_type>0</value_type>
|
817
|
+
<allowed_hosts/>
|
818
|
+
<units>%</units>
|
819
|
+
<delta>0</delta>
|
820
|
+
<snmpv3_securityname/>
|
821
|
+
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
822
|
+
<snmpv3_authpassphrase/>
|
823
|
+
<snmpv3_privpassphrase/>
|
824
|
+
<formula>1</formula>
|
825
|
+
<delay_flex/>
|
826
|
+
<params>100 * last("cpu[user]") / last("cpu[total]")</params>
|
827
|
+
<ipmi_sensor/>
|
828
|
+
<data_type>0</data_type>
|
829
|
+
<authtype>0</authtype>
|
830
|
+
<username/>
|
831
|
+
<password/>
|
832
|
+
<publickey/>
|
833
|
+
<privatekey/>
|
834
|
+
<port/>
|
835
|
+
<description/>
|
836
|
+
<inventory_link>0</inventory_link>
|
837
|
+
<applications>
|
838
|
+
<application>
|
839
|
+
<name>CPU</name>
|
840
|
+
</application>
|
841
|
+
</applications>
|
842
|
+
<valuemap/>
|
843
|
+
</item>
|
844
|
+
</items>
|
845
|
+
<discovery_rules/>
|
846
|
+
<macros/>
|
847
|
+
<templates/>
|
848
|
+
<screens/>
|
849
|
+
</template>
|
850
|
+
</templates>
|
851
|
+
<triggers>
|
852
|
+
<trigger>
|
853
|
+
<expression>{CPU zrc:cpu[used_percent].max(120)}>90</expression>
|
854
|
+
<name>extreme CPU use</name>
|
855
|
+
<url/>
|
856
|
+
<status>0</status>
|
857
|
+
<priority>4</priority>
|
858
|
+
<description/>
|
859
|
+
<type>0</type>
|
860
|
+
<dependencies/>
|
861
|
+
</trigger>
|
862
|
+
<trigger>
|
863
|
+
<expression>{CPU zrc:cpu[used_percent].max(120)}>80</expression>
|
864
|
+
<name>high CPU use</name>
|
865
|
+
<url/>
|
866
|
+
<status>0</status>
|
867
|
+
<priority>2</priority>
|
868
|
+
<description/>
|
869
|
+
<type>0</type>
|
870
|
+
<dependencies/>
|
871
|
+
</trigger>
|
872
|
+
</triggers>
|
873
|
+
<graphs>
|
874
|
+
<graph>
|
875
|
+
<name>CPU Details</name>
|
876
|
+
<width>900</width>
|
877
|
+
<height>200</height>
|
878
|
+
<yaxismin>0.0000</yaxismin>
|
879
|
+
<yaxismax>100.0000</yaxismax>
|
880
|
+
<show_work_period>1</show_work_period>
|
881
|
+
<show_triggers>1</show_triggers>
|
882
|
+
<type>1</type>
|
883
|
+
<show_legend>1</show_legend>
|
884
|
+
<show_3d>0</show_3d>
|
885
|
+
<percent_left>0.0000</percent_left>
|
886
|
+
<percent_right>0.0000</percent_right>
|
887
|
+
<ymin_type_1>1</ymin_type_1>
|
888
|
+
<ymax_type_1>0</ymax_type_1>
|
889
|
+
<ymin_item_1>0</ymin_item_1>
|
890
|
+
<ymax_item_1>0</ymax_item_1>
|
891
|
+
<graph_items>
|
892
|
+
<graph_item>
|
893
|
+
<sortorder>0</sortorder>
|
894
|
+
<drawtype>0</drawtype>
|
895
|
+
<color>23AA10</color>
|
896
|
+
<yaxisside>0</yaxisside>
|
897
|
+
<calc_fnc>2</calc_fnc>
|
898
|
+
<type>0</type>
|
899
|
+
<item>
|
900
|
+
<host>CPU zrc</host>
|
901
|
+
<key>cpu[user_percent]</key>
|
902
|
+
</item>
|
903
|
+
</graph_item>
|
904
|
+
<graph_item>
|
905
|
+
<sortorder>2</sortorder>
|
906
|
+
<drawtype>0</drawtype>
|
907
|
+
<color>6699AA</color>
|
908
|
+
<yaxisside>0</yaxisside>
|
909
|
+
<calc_fnc>2</calc_fnc>
|
910
|
+
<type>0</type>
|
911
|
+
<item>
|
912
|
+
<host>CPU zrc</host>
|
913
|
+
<key>cpu[nice_percent]</key>
|
914
|
+
</item>
|
915
|
+
</graph_item>
|
916
|
+
<graph_item>
|
917
|
+
<sortorder>1</sortorder>
|
918
|
+
<drawtype>0</drawtype>
|
919
|
+
<color>1023AA</color>
|
920
|
+
<yaxisside>0</yaxisside>
|
921
|
+
<calc_fnc>2</calc_fnc>
|
922
|
+
<type>0</type>
|
923
|
+
<item>
|
924
|
+
<host>CPU zrc</host>
|
925
|
+
<key>cpu[system_percent]</key>
|
926
|
+
</item>
|
927
|
+
</graph_item>
|
928
|
+
<graph_item>
|
929
|
+
<sortorder>3</sortorder>
|
930
|
+
<drawtype>0</drawtype>
|
931
|
+
<color>BC5000</color>
|
932
|
+
<yaxisside>0</yaxisside>
|
933
|
+
<calc_fnc>2</calc_fnc>
|
934
|
+
<type>0</type>
|
935
|
+
<item>
|
936
|
+
<host>CPU zrc</host>
|
937
|
+
<key>cpu[steal_percent]</key>
|
938
|
+
</item>
|
939
|
+
</graph_item>
|
940
|
+
<graph_item>
|
941
|
+
<sortorder>4</sortorder>
|
942
|
+
<drawtype>0</drawtype>
|
943
|
+
<color>D3D300</color>
|
944
|
+
<yaxisside>0</yaxisside>
|
945
|
+
<calc_fnc>2</calc_fnc>
|
946
|
+
<type>0</type>
|
947
|
+
<item>
|
948
|
+
<host>CPU zrc</host>
|
949
|
+
<key>cpu[guest_percent]</key>
|
950
|
+
</item>
|
951
|
+
</graph_item>
|
952
|
+
<graph_item>
|
953
|
+
<sortorder>5</sortorder>
|
954
|
+
<drawtype>0</drawtype>
|
955
|
+
<color>53A3D3</color>
|
956
|
+
<yaxisside>0</yaxisside>
|
957
|
+
<calc_fnc>2</calc_fnc>
|
958
|
+
<type>0</type>
|
959
|
+
<item>
|
960
|
+
<host>CPU zrc</host>
|
961
|
+
<key>cpu[iowait_percent]</key>
|
962
|
+
</item>
|
963
|
+
</graph_item>
|
964
|
+
<graph_item>
|
965
|
+
<sortorder>6</sortorder>
|
966
|
+
<drawtype>0</drawtype>
|
967
|
+
<color>938320</color>
|
968
|
+
<yaxisside>0</yaxisside>
|
969
|
+
<calc_fnc>2</calc_fnc>
|
970
|
+
<type>0</type>
|
971
|
+
<item>
|
972
|
+
<host>CPU zrc</host>
|
973
|
+
<key>cpu[irq_percent]</key>
|
974
|
+
</item>
|
975
|
+
</graph_item>
|
976
|
+
<graph_item>
|
977
|
+
<sortorder>7</sortorder>
|
978
|
+
<drawtype>0</drawtype>
|
979
|
+
<color>53D3A3</color>
|
980
|
+
<yaxisside>0</yaxisside>
|
981
|
+
<calc_fnc>2</calc_fnc>
|
982
|
+
<type>0</type>
|
983
|
+
<item>
|
984
|
+
<host>CPU zrc</host>
|
985
|
+
<key>cpu[soft_percent]</key>
|
986
|
+
</item>
|
987
|
+
</graph_item>
|
988
|
+
</graph_items>
|
989
|
+
</graph>
|
990
|
+
<graph>
|
991
|
+
<name>CPU used</name>
|
992
|
+
<width>900</width>
|
993
|
+
<height>200</height>
|
994
|
+
<yaxismin>0.0000</yaxismin>
|
995
|
+
<yaxismax>100.0000</yaxismax>
|
996
|
+
<show_work_period>1</show_work_period>
|
997
|
+
<show_triggers>1</show_triggers>
|
998
|
+
<type>0</type>
|
999
|
+
<show_legend>1</show_legend>
|
1000
|
+
<show_3d>0</show_3d>
|
1001
|
+
<percent_left>95.0000</percent_left>
|
1002
|
+
<percent_right>0.0000</percent_right>
|
1003
|
+
<ymin_type_1>1</ymin_type_1>
|
1004
|
+
<ymax_type_1>1</ymax_type_1>
|
1005
|
+
<ymin_item_1>0</ymin_item_1>
|
1006
|
+
<ymax_item_1>0</ymax_item_1>
|
1007
|
+
<graph_items>
|
1008
|
+
<graph_item>
|
1009
|
+
<sortorder>0</sortorder>
|
1010
|
+
<drawtype>5</drawtype>
|
1011
|
+
<color>3366AA</color>
|
1012
|
+
<yaxisside>0</yaxisside>
|
1013
|
+
<calc_fnc>7</calc_fnc>
|
1014
|
+
<type>0</type>
|
1015
|
+
<item>
|
1016
|
+
<host>CPU zrc</host>
|
1017
|
+
<key>cpu[used_percent]</key>
|
1018
|
+
</item>
|
1019
|
+
</graph_item>
|
1020
|
+
</graph_items>
|
1021
|
+
</graph>
|
1022
|
+
</graphs>
|
1023
|
+
</zabbix_export>
|