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.
@@ -0,0 +1,550 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <zabbix_export>
3
+ <version>2.0</version>
4
+ <date>2013-09-23T07:23:58Z</date>
5
+ <groups>
6
+ <group>
7
+ <name>Linux servers</name>
8
+ </group>
9
+ </groups>
10
+ <templates>
11
+ <template>
12
+ <template>Memory ZRC</template>
13
+ <name>Memory (zrc)</name>
14
+ <groups>
15
+ <group>
16
+ <name>Linux servers</name>
17
+ </group>
18
+ </groups>
19
+ <applications>
20
+ <application>
21
+ <name>Memory</name>
22
+ </application>
23
+ </applications>
24
+ <items>
25
+ <item>
26
+ <name>Memory active</name>
27
+ <type>2</type>
28
+ <snmp_community/>
29
+ <multiplier>0</multiplier>
30
+ <snmp_oid/>
31
+ <key>memory[active]</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>B</units>
39
+ <delta>0</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>Memory</name>
60
+ </application>
61
+ </applications>
62
+ <valuemap/>
63
+ </item>
64
+ <item>
65
+ <name>Memory buffer</name>
66
+ <type>2</type>
67
+ <snmp_community/>
68
+ <multiplier>0</multiplier>
69
+ <snmp_oid/>
70
+ <key>memory[buffer]</key>
71
+ <delay>0</delay>
72
+ <history>90</history>
73
+ <trends>365</trends>
74
+ <status>0</status>
75
+ <value_type>3</value_type>
76
+ <allowed_hosts/>
77
+ <units>B</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/>
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>Memory</name>
99
+ </application>
100
+ </applications>
101
+ <valuemap/>
102
+ </item>
103
+ <item>
104
+ <name>Memory Free</name>
105
+ <type>2</type>
106
+ <snmp_community/>
107
+ <multiplier>0</multiplier>
108
+ <snmp_oid/>
109
+ <key>memory[free]</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>B</units>
117
+ <delta>0</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>Free memory</description>
134
+ <inventory_link>0</inventory_link>
135
+ <applications>
136
+ <application>
137
+ <name>Memory</name>
138
+ </application>
139
+ </applications>
140
+ <valuemap/>
141
+ </item>
142
+ <item>
143
+ <name>Memory Inactive</name>
144
+ <type>2</type>
145
+ <snmp_community/>
146
+ <multiplier>0</multiplier>
147
+ <snmp_oid/>
148
+ <key>memory[inactive]</key>
149
+ <delay>0</delay>
150
+ <history>90</history>
151
+ <trends>365</trends>
152
+ <status>0</status>
153
+ <value_type>3</value_type>
154
+ <allowed_hosts/>
155
+ <units>B</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/>
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>Memory</name>
177
+ </application>
178
+ </applications>
179
+ <valuemap/>
180
+ </item>
181
+ <item>
182
+ <name>Memory percent free</name>
183
+ <type>15</type>
184
+ <snmp_community/>
185
+ <multiplier>0</multiplier>
186
+ <snmp_oid/>
187
+ <key>memory[free_percent]</key>
188
+ <delay>60</delay>
189
+ <history>90</history>
190
+ <trends>365</trends>
191
+ <status>0</status>
192
+ <value_type>3</value_type>
193
+ <allowed_hosts/>
194
+ <units>%</units>
195
+ <delta>0</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>100*(last(&quot;memory[free]&quot;)+last(&quot;memory[inactive]&quot;))/last(&quot;memory[total]&quot;)</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>Memory</name>
216
+ </application>
217
+ </applications>
218
+ <valuemap/>
219
+ </item>
220
+ <item>
221
+ <name>Memory Total</name>
222
+ <type>2</type>
223
+ <snmp_community/>
224
+ <multiplier>0</multiplier>
225
+ <snmp_oid/>
226
+ <key>memory[total]</key>
227
+ <delay>0</delay>
228
+ <history>90</history>
229
+ <trends>365</trends>
230
+ <status>0</status>
231
+ <value_type>3</value_type>
232
+ <allowed_hosts/>
233
+ <units>B</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/>
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>Total memory</description>
251
+ <inventory_link>0</inventory_link>
252
+ <applications>
253
+ <application>
254
+ <name>Memory</name>
255
+ </application>
256
+ </applications>
257
+ <valuemap/>
258
+ </item>
259
+ <item>
260
+ <name>Swap cache</name>
261
+ <type>2</type>
262
+ <snmp_community/>
263
+ <multiplier>0</multiplier>
264
+ <snmp_oid/>
265
+ <key>memory[swap_cache]</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>B</units>
273
+ <delta>0</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>Memory</name>
294
+ </application>
295
+ </applications>
296
+ <valuemap/>
297
+ </item>
298
+ <item>
299
+ <name>Swap free</name>
300
+ <type>2</type>
301
+ <snmp_community/>
302
+ <multiplier>0</multiplier>
303
+ <snmp_oid/>
304
+ <key>memory[swap_free]</key>
305
+ <delay>0</delay>
306
+ <history>90</history>
307
+ <trends>365</trends>
308
+ <status>0</status>
309
+ <value_type>3</value_type>
310
+ <allowed_hosts/>
311
+ <units>B</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/>
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>Memory</name>
333
+ </application>
334
+ </applications>
335
+ <valuemap/>
336
+ </item>
337
+ <item>
338
+ <name>Swap total</name>
339
+ <type>2</type>
340
+ <snmp_community/>
341
+ <multiplier>0</multiplier>
342
+ <snmp_oid/>
343
+ <key>memory[swap_total]</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>B</units>
351
+ <delta>0</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>Memory</name>
372
+ </application>
373
+ </applications>
374
+ <valuemap/>
375
+ </item>
376
+ <item>
377
+ <name>Swap used</name>
378
+ <type>2</type>
379
+ <snmp_community/>
380
+ <multiplier>0</multiplier>
381
+ <snmp_oid/>
382
+ <key>memory[swap_used]</key>
383
+ <delay>0</delay>
384
+ <history>90</history>
385
+ <trends>365</trends>
386
+ <status>0</status>
387
+ <value_type>3</value_type>
388
+ <allowed_hosts/>
389
+ <units>B</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/>
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>Memory</name>
411
+ </application>
412
+ </applications>
413
+ <valuemap/>
414
+ </item>
415
+ </items>
416
+ <discovery_rules/>
417
+ <macros/>
418
+ <templates/>
419
+ <screens/>
420
+ </template>
421
+ </templates>
422
+ <triggers>
423
+ <trigger>
424
+ <expression>{Memory ZRC:memory[free_percent].last(0)}&lt;5</expression>
425
+ <name>Critical memory</name>
426
+ <url/>
427
+ <status>0</status>
428
+ <priority>4</priority>
429
+ <description>Free memory less than 5%</description>
430
+ <type>0</type>
431
+ <dependencies/>
432
+ </trigger>
433
+ <trigger>
434
+ <expression>{Memory ZRC:memory[free_percent].last(0)}&lt;20</expression>
435
+ <name>Low memory</name>
436
+ <url/>
437
+ <status>0</status>
438
+ <priority>2</priority>
439
+ <description>Free memory less than 20%</description>
440
+ <type>0</type>
441
+ <dependencies/>
442
+ </trigger>
443
+ </triggers>
444
+ <graphs>
445
+ <graph>
446
+ <name>Memory use</name>
447
+ <width>900</width>
448
+ <height>200</height>
449
+ <yaxismin>0.0000</yaxismin>
450
+ <yaxismax>100.0000</yaxismax>
451
+ <show_work_period>1</show_work_period>
452
+ <show_triggers>1</show_triggers>
453
+ <type>1</type>
454
+ <show_legend>1</show_legend>
455
+ <show_3d>0</show_3d>
456
+ <percent_left>0.0000</percent_left>
457
+ <percent_right>0.0000</percent_right>
458
+ <ymin_type_1>0</ymin_type_1>
459
+ <ymax_type_1>0</ymax_type_1>
460
+ <ymin_item_1>0</ymin_item_1>
461
+ <ymax_item_1>0</ymax_item_1>
462
+ <graph_items>
463
+ <graph_item>
464
+ <sortorder>0</sortorder>
465
+ <drawtype>1</drawtype>
466
+ <color>000088</color>
467
+ <yaxisside>0</yaxisside>
468
+ <calc_fnc>2</calc_fnc>
469
+ <type>0</type>
470
+ <item>
471
+ <host>Memory ZRC</host>
472
+ <key>memory[active]</key>
473
+ </item>
474
+ </graph_item>
475
+ <graph_item>
476
+ <sortorder>1</sortorder>
477
+ <drawtype>0</drawtype>
478
+ <color>6666FF</color>
479
+ <yaxisside>0</yaxisside>
480
+ <calc_fnc>2</calc_fnc>
481
+ <type>0</type>
482
+ <item>
483
+ <host>Memory ZRC</host>
484
+ <key>memory[buffer]</key>
485
+ </item>
486
+ </graph_item>
487
+ <graph_item>
488
+ <sortorder>2</sortorder>
489
+ <drawtype>0</drawtype>
490
+ <color>CCCCFF</color>
491
+ <yaxisside>0</yaxisside>
492
+ <calc_fnc>2</calc_fnc>
493
+ <type>0</type>
494
+ <item>
495
+ <host>Memory ZRC</host>
496
+ <key>memory[inactive]</key>
497
+ </item>
498
+ </graph_item>
499
+ <graph_item>
500
+ <sortorder>3</sortorder>
501
+ <drawtype>0</drawtype>
502
+ <color>DDDDDD</color>
503
+ <yaxisside>0</yaxisside>
504
+ <calc_fnc>2</calc_fnc>
505
+ <type>0</type>
506
+ <item>
507
+ <host>Memory ZRC</host>
508
+ <key>memory[free]</key>
509
+ </item>
510
+ </graph_item>
511
+ <graph_item>
512
+ <sortorder>4</sortorder>
513
+ <drawtype>0</drawtype>
514
+ <color>880000</color>
515
+ <yaxisside>0</yaxisside>
516
+ <calc_fnc>2</calc_fnc>
517
+ <type>0</type>
518
+ <item>
519
+ <host>Memory ZRC</host>
520
+ <key>memory[swap_used]</key>
521
+ </item>
522
+ </graph_item>
523
+ <graph_item>
524
+ <sortorder>5</sortorder>
525
+ <drawtype>0</drawtype>
526
+ <color>FF6666</color>
527
+ <yaxisside>0</yaxisside>
528
+ <calc_fnc>2</calc_fnc>
529
+ <type>0</type>
530
+ <item>
531
+ <host>Memory ZRC</host>
532
+ <key>memory[swap_cache]</key>
533
+ </item>
534
+ </graph_item>
535
+ <graph_item>
536
+ <sortorder>6</sortorder>
537
+ <drawtype>0</drawtype>
538
+ <color>EEEEEE</color>
539
+ <yaxisside>0</yaxisside>
540
+ <calc_fnc>2</calc_fnc>
541
+ <type>0</type>
542
+ <item>
543
+ <host>Memory ZRC</host>
544
+ <key>memory[swap_free]</key>
545
+ </item>
546
+ </graph_item>
547
+ </graph_items>
548
+ </graph>
549
+ </graphs>
550
+ </zabbix_export>