zabbix-ruby-client 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -1
  3. data/.ruby-version +1 -0
  4. data/CHANGELOG.md +10 -1
  5. data/README.md +7 -2
  6. data/lib/zabbix-ruby-client/plugin_base.rb +28 -0
  7. data/lib/zabbix-ruby-client/plugins/ovpn.rb +55 -0
  8. data/lib/zabbix-ruby-client/plugins/postgres.rb +45 -0
  9. data/lib/zabbix-ruby-client/runner.rb +11 -1
  10. data/lib/zabbix-ruby-client/version.rb +1 -1
  11. data/spec/files/system/net_dev +1 -1
  12. data/spec/lib/cli_spec.rb +7 -7
  13. data/spec/lib/data_spec.rb +5 -5
  14. data/spec/lib/plugin_base_spec.rb +6 -6
  15. data/spec/lib/plugins/apache_spec.rb +1 -1
  16. data/spec/lib/plugins/apt_spec.rb +5 -5
  17. data/spec/lib/plugins/cpu_spec.rb +3 -3
  18. data/spec/lib/plugins/disk_spec.rb +40 -40
  19. data/spec/lib/plugins/load_spec.rb +5 -5
  20. data/spec/lib/plugins/memory_spec.rb +52 -52
  21. data/spec/lib/plugins/network_spec.rb +28 -29
  22. data/spec/lib/runner_spec.rb +21 -8
  23. data/zabbix-templates/apache_tpl.xml +115 -46
  24. data/zabbix-templates/apt_tpl.xml +13 -4
  25. data/zabbix-templates/cisco_tpl.xml +2089 -0
  26. data/zabbix-templates/cpu_tpl.xml +116 -53
  27. data/zabbix-templates/disk_tpl.xml +75 -29
  28. data/zabbix-templates/load_tpl.xml +21 -9
  29. data/zabbix-templates/memory_tpl.xml +52 -28
  30. data/zabbix-templates/mysql_tpl.xml +70 -28
  31. data/zabbix-templates/network_tpl.xml +40 -96
  32. data/zabbix-templates/nginx_tpl.xml +37 -16
  33. data/zabbix-templates/openvpn_tpl.xml +312 -0
  34. data/zabbix-templates/postgres_tpl.xml +891 -8
  35. data/zabbix-templates/redis_tpl.xml +46 -19
  36. data/zabbix-templates/sysinfo_tpl.xml +21 -3
  37. data/zabbix-templates/system_tpl.xml +339 -3
  38. metadata +26 -42
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <zabbix_export>
3
3
  <version>2.0</version>
4
- <date>2013-10-07T10:52:56Z</date>
4
+ <date>2014-01-02T03:32:28Z</date>
5
5
  <groups>
6
6
  <group>
7
7
  <name>3. Service Ubuntu</name>
@@ -9,7 +9,7 @@
9
9
  </groups>
10
10
  <templates>
11
11
  <template>
12
- <template>Memory ZRC</template>
12
+ <template>Memory zrc</template>
13
13
  <name>Memory (zrc)</name>
14
14
  <groups>
15
15
  <group>
@@ -30,16 +30,19 @@
30
30
  <snmp_oid/>
31
31
  <key>memory[free]</key>
32
32
  <delay>0</delay>
33
- <history>90</history>
34
- <trends>365</trends>
33
+ <history>7</history>
34
+ <trends>730</trends>
35
35
  <status>0</status>
36
36
  <value_type>3</value_type>
37
37
  <allowed_hosts/>
38
38
  <units>B</units>
39
39
  <delta>0</delta>
40
+ <snmpv3_contextname/>
40
41
  <snmpv3_securityname/>
41
42
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
43
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
42
44
  <snmpv3_authpassphrase/>
45
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
43
46
  <snmpv3_privpassphrase/>
44
47
  <formula>1</formula>
45
48
  <delay_flex/>
@@ -69,16 +72,19 @@
69
72
  <snmp_oid/>
70
73
  <key>memory[percent_used]</key>
71
74
  <delay>0</delay>
72
- <history>90</history>
73
- <trends>365</trends>
75
+ <history>7</history>
76
+ <trends>730</trends>
74
77
  <status>0</status>
75
78
  <value_type>3</value_type>
76
79
  <allowed_hosts/>
77
80
  <units>%</units>
78
81
  <delta>0</delta>
82
+ <snmpv3_contextname/>
79
83
  <snmpv3_securityname/>
80
84
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
85
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
81
86
  <snmpv3_authpassphrase/>
87
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
82
88
  <snmpv3_privpassphrase/>
83
89
  <formula>1</formula>
84
90
  <delay_flex/>
@@ -108,16 +114,19 @@
108
114
  <snmp_oid/>
109
115
  <key>memory[total]</key>
110
116
  <delay>0</delay>
111
- <history>90</history>
112
- <trends>365</trends>
117
+ <history>7</history>
118
+ <trends>730</trends>
113
119
  <status>0</status>
114
120
  <value_type>3</value_type>
115
121
  <allowed_hosts/>
116
122
  <units>B</units>
117
123
  <delta>0</delta>
124
+ <snmpv3_contextname/>
118
125
  <snmpv3_securityname/>
119
126
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
127
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
120
128
  <snmpv3_authpassphrase/>
129
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
121
130
  <snmpv3_privpassphrase/>
122
131
  <formula>1</formula>
123
132
  <delay_flex/>
@@ -147,16 +156,19 @@
147
156
  <snmp_oid/>
148
157
  <key>memory[used]</key>
149
158
  <delay>0</delay>
150
- <history>90</history>
151
- <trends>365</trends>
159
+ <history>7</history>
160
+ <trends>730</trends>
152
161
  <status>0</status>
153
162
  <value_type>3</value_type>
154
163
  <allowed_hosts/>
155
164
  <units>B</units>
156
165
  <delta>0</delta>
166
+ <snmpv3_contextname/>
157
167
  <snmpv3_securityname/>
158
168
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
169
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
159
170
  <snmpv3_authpassphrase/>
171
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
160
172
  <snmpv3_privpassphrase/>
161
173
  <formula>1</formula>
162
174
  <delay_flex/>
@@ -186,16 +198,19 @@
186
198
  <snmp_oid/>
187
199
  <key>memory[swap_free]</key>
188
200
  <delay>0</delay>
189
- <history>90</history>
190
- <trends>365</trends>
201
+ <history>7</history>
202
+ <trends>730</trends>
191
203
  <status>0</status>
192
204
  <value_type>3</value_type>
193
205
  <allowed_hosts/>
194
206
  <units>B</units>
195
207
  <delta>0</delta>
208
+ <snmpv3_contextname/>
196
209
  <snmpv3_securityname/>
197
210
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
211
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
198
212
  <snmpv3_authpassphrase/>
213
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
199
214
  <snmpv3_privpassphrase/>
200
215
  <formula>1</formula>
201
216
  <delay_flex/>
@@ -225,16 +240,19 @@
225
240
  <snmp_oid/>
226
241
  <key>memory[swap_percent_used]</key>
227
242
  <delay>0</delay>
228
- <history>90</history>
229
- <trends>365</trends>
243
+ <history>7</history>
244
+ <trends>730</trends>
230
245
  <status>0</status>
231
246
  <value_type>0</value_type>
232
247
  <allowed_hosts/>
233
248
  <units>%</units>
234
249
  <delta>0</delta>
250
+ <snmpv3_contextname/>
235
251
  <snmpv3_securityname/>
236
252
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
253
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
237
254
  <snmpv3_authpassphrase/>
255
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
238
256
  <snmpv3_privpassphrase/>
239
257
  <formula>1</formula>
240
258
  <delay_flex/>
@@ -264,16 +282,19 @@
264
282
  <snmp_oid/>
265
283
  <key>memory[swap_total]</key>
266
284
  <delay>0</delay>
267
- <history>90</history>
268
- <trends>365</trends>
285
+ <history>7</history>
286
+ <trends>730</trends>
269
287
  <status>0</status>
270
288
  <value_type>3</value_type>
271
289
  <allowed_hosts/>
272
290
  <units>B</units>
273
291
  <delta>0</delta>
292
+ <snmpv3_contextname/>
274
293
  <snmpv3_securityname/>
275
294
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
295
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
276
296
  <snmpv3_authpassphrase/>
297
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
277
298
  <snmpv3_privpassphrase/>
278
299
  <formula>1</formula>
279
300
  <delay_flex/>
@@ -303,16 +324,19 @@
303
324
  <snmp_oid/>
304
325
  <key>memory[swap_used]</key>
305
326
  <delay>0</delay>
306
- <history>90</history>
307
- <trends>365</trends>
327
+ <history>7</history>
328
+ <trends>730</trends>
308
329
  <status>0</status>
309
330
  <value_type>3</value_type>
310
331
  <allowed_hosts/>
311
332
  <units>B</units>
312
333
  <delta>0</delta>
334
+ <snmpv3_contextname/>
313
335
  <snmpv3_securityname/>
314
336
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
337
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
315
338
  <snmpv3_authpassphrase/>
339
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
316
340
  <snmpv3_privpassphrase/>
317
341
  <formula>1</formula>
318
342
  <delay_flex/>
@@ -343,7 +367,7 @@
343
367
  </templates>
344
368
  <triggers>
345
369
  <trigger>
346
- <expression>{Memory ZRC:memory[percent_used].last(0)}&gt;95</expression>
370
+ <expression>{Memory zrc:memory[percent_used].min(240)}&gt;95</expression>
347
371
  <name>Critical memory</name>
348
372
  <url/>
349
373
  <status>0</status>
@@ -353,7 +377,7 @@
353
377
  <dependencies/>
354
378
  </trigger>
355
379
  <trigger>
356
- <expression>{Memory ZRC:memory[percent_used].last(0)}&gt;80</expression>
380
+ <expression>{Memory zrc:memory[percent_used].min(240)}&gt;80</expression>
357
381
  <name>Low memory</name>
358
382
  <url/>
359
383
  <status>0</status>
@@ -390,7 +414,7 @@
390
414
  <calc_fnc>2</calc_fnc>
391
415
  <type>0</type>
392
416
  <item>
393
- <host>Memory ZRC</host>
417
+ <host>Memory zrc</host>
394
418
  <key>memory[used]</key>
395
419
  </item>
396
420
  </graph_item>
@@ -402,7 +426,7 @@
402
426
  <calc_fnc>2</calc_fnc>
403
427
  <type>0</type>
404
428
  <item>
405
- <host>Memory ZRC</host>
429
+ <host>Memory zrc</host>
406
430
  <key>memory[free]</key>
407
431
  </item>
408
432
  </graph_item>
@@ -414,7 +438,7 @@
414
438
  <calc_fnc>2</calc_fnc>
415
439
  <type>0</type>
416
440
  <item>
417
- <host>Memory ZRC</host>
441
+ <host>Memory zrc</host>
418
442
  <key>memory[swap_used]</key>
419
443
  </item>
420
444
  </graph_item>
@@ -426,7 +450,7 @@
426
450
  <calc_fnc>2</calc_fnc>
427
451
  <type>0</type>
428
452
  <item>
429
- <host>Memory ZRC</host>
453
+ <host>Memory zrc</host>
430
454
  <key>memory[swap_free]</key>
431
455
  </item>
432
456
  </graph_item>
@@ -458,7 +482,7 @@
458
482
  <calc_fnc>2</calc_fnc>
459
483
  <type>0</type>
460
484
  <item>
461
- <host>Memory ZRC</host>
485
+ <host>Memory zrc</host>
462
486
  <key>memory[used]</key>
463
487
  </item>
464
488
  </graph_item>
@@ -470,7 +494,7 @@
470
494
  <calc_fnc>2</calc_fnc>
471
495
  <type>0</type>
472
496
  <item>
473
- <host>Memory ZRC</host>
497
+ <host>Memory zrc</host>
474
498
  <key>memory[free]</key>
475
499
  </item>
476
500
  </graph_item>
@@ -482,7 +506,7 @@
482
506
  <calc_fnc>2</calc_fnc>
483
507
  <type>0</type>
484
508
  <item>
485
- <host>Memory ZRC</host>
509
+ <host>Memory zrc</host>
486
510
  <key>memory[swap_used]</key>
487
511
  </item>
488
512
  </graph_item>
@@ -494,7 +518,7 @@
494
518
  <calc_fnc>2</calc_fnc>
495
519
  <type>0</type>
496
520
  <item>
497
- <host>Memory ZRC</host>
521
+ <host>Memory zrc</host>
498
522
  <key>memory[swap_free]</key>
499
523
  </item>
500
524
  </graph_item>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <zabbix_export>
3
3
  <version>2.0</version>
4
- <date>2013-10-11T05:38:53Z</date>
4
+ <date>2014-01-02T03:32:40Z</date>
5
5
  <groups>
6
6
  <group>
7
7
  <name>3. Service db</name>
@@ -42,16 +42,19 @@
42
42
  <snmp_oid/>
43
43
  <key>mysql.status[Com_begin]</key>
44
44
  <delay>0</delay>
45
- <history>30</history>
46
- <trends>365</trends>
45
+ <history>7</history>
46
+ <trends>730</trends>
47
47
  <status>0</status>
48
48
  <value_type>0</value_type>
49
49
  <allowed_hosts/>
50
50
  <units>rps</units>
51
51
  <delta>1</delta>
52
+ <snmpv3_contextname/>
52
53
  <snmpv3_securityname/>
53
54
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
54
56
  <snmpv3_authpassphrase/>
57
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
55
58
  <snmpv3_privpassphrase/>
56
59
  <formula>1</formula>
57
60
  <delay_flex/>
@@ -81,16 +84,19 @@
81
84
  <snmp_oid/>
82
85
  <key>mysql.status[Bytes_received]</key>
83
86
  <delay>0</delay>
84
- <history>30</history>
85
- <trends>365</trends>
87
+ <history>7</history>
88
+ <trends>730</trends>
86
89
  <status>0</status>
87
90
  <value_type>0</value_type>
88
91
  <allowed_hosts/>
89
92
  <units>Bps</units>
90
93
  <delta>1</delta>
94
+ <snmpv3_contextname/>
91
95
  <snmpv3_securityname/>
92
96
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
97
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
93
98
  <snmpv3_authpassphrase/>
99
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
94
100
  <snmpv3_privpassphrase/>
95
101
  <formula>1</formula>
96
102
  <delay_flex/>
@@ -120,16 +126,19 @@
120
126
  <snmp_oid/>
121
127
  <key>mysql.status[Bytes_sent]</key>
122
128
  <delay>0</delay>
123
- <history>30</history>
124
- <trends>365</trends>
129
+ <history>7</history>
130
+ <trends>730</trends>
125
131
  <status>0</status>
126
132
  <value_type>0</value_type>
127
133
  <allowed_hosts/>
128
134
  <units>Bps</units>
129
135
  <delta>1</delta>
136
+ <snmpv3_contextname/>
130
137
  <snmpv3_securityname/>
131
138
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
139
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
132
140
  <snmpv3_authpassphrase/>
141
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
133
142
  <snmpv3_privpassphrase/>
134
143
  <formula>1</formula>
135
144
  <delay_flex/>
@@ -159,16 +168,19 @@
159
168
  <snmp_oid/>
160
169
  <key>mysql.status[Com_commit]</key>
161
170
  <delay>0</delay>
162
- <history>30</history>
163
- <trends>365</trends>
171
+ <history>7</history>
172
+ <trends>730</trends>
164
173
  <status>0</status>
165
174
  <value_type>0</value_type>
166
175
  <allowed_hosts/>
167
176
  <units>rps</units>
168
177
  <delta>1</delta>
178
+ <snmpv3_contextname/>
169
179
  <snmpv3_securityname/>
170
180
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
181
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
171
182
  <snmpv3_authpassphrase/>
183
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
172
184
  <snmpv3_privpassphrase/>
173
185
  <formula>1</formula>
174
186
  <delay_flex/>
@@ -198,16 +210,19 @@
198
210
  <snmp_oid/>
199
211
  <key>mysql.status[Com_delete]</key>
200
212
  <delay>0</delay>
201
- <history>30</history>
202
- <trends>365</trends>
213
+ <history>7</history>
214
+ <trends>730</trends>
203
215
  <status>0</status>
204
216
  <value_type>0</value_type>
205
217
  <allowed_hosts/>
206
218
  <units>rps</units>
207
219
  <delta>1</delta>
220
+ <snmpv3_contextname/>
208
221
  <snmpv3_securityname/>
209
222
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
223
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
210
224
  <snmpv3_authpassphrase/>
225
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
211
226
  <snmpv3_privpassphrase/>
212
227
  <formula>1</formula>
213
228
  <delay_flex/>
@@ -237,16 +252,19 @@
237
252
  <snmp_oid/>
238
253
  <key>mysql.status[Com_insert]</key>
239
254
  <delay>0</delay>
240
- <history>30</history>
241
- <trends>365</trends>
255
+ <history>7</history>
256
+ <trends>730</trends>
242
257
  <status>0</status>
243
258
  <value_type>0</value_type>
244
259
  <allowed_hosts/>
245
260
  <units>rps</units>
246
261
  <delta>1</delta>
262
+ <snmpv3_contextname/>
247
263
  <snmpv3_securityname/>
248
264
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
265
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
249
266
  <snmpv3_authpassphrase/>
267
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
250
268
  <snmpv3_privpassphrase/>
251
269
  <formula>1</formula>
252
270
  <delay_flex/>
@@ -276,16 +294,19 @@
276
294
  <snmp_oid/>
277
295
  <key>mysql.status[Questions]</key>
278
296
  <delay>0</delay>
279
- <history>30</history>
280
- <trends>365</trends>
297
+ <history>7</history>
298
+ <trends>730</trends>
281
299
  <status>0</status>
282
300
  <value_type>0</value_type>
283
301
  <allowed_hosts/>
284
302
  <units>qps</units>
285
303
  <delta>1</delta>
304
+ <snmpv3_contextname/>
286
305
  <snmpv3_securityname/>
287
306
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
307
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
288
308
  <snmpv3_authpassphrase/>
309
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
289
310
  <snmpv3_privpassphrase/>
290
311
  <formula>1</formula>
291
312
  <delay_flex/>
@@ -315,16 +336,19 @@
315
336
  <snmp_oid/>
316
337
  <key>mysql.status[Com_rollback]</key>
317
338
  <delay>0</delay>
318
- <history>30</history>
319
- <trends>365</trends>
339
+ <history>7</history>
340
+ <trends>730</trends>
320
341
  <status>0</status>
321
342
  <value_type>0</value_type>
322
343
  <allowed_hosts/>
323
344
  <units>rps</units>
324
345
  <delta>1</delta>
346
+ <snmpv3_contextname/>
325
347
  <snmpv3_securityname/>
326
348
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
349
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
327
350
  <snmpv3_authpassphrase/>
351
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
328
352
  <snmpv3_privpassphrase/>
329
353
  <formula>1</formula>
330
354
  <delay_flex/>
@@ -354,16 +378,19 @@
354
378
  <snmp_oid/>
355
379
  <key>mysql.status[Com_select]</key>
356
380
  <delay>0</delay>
357
- <history>30</history>
358
- <trends>365</trends>
381
+ <history>7</history>
382
+ <trends>730</trends>
359
383
  <status>0</status>
360
384
  <value_type>0</value_type>
361
385
  <allowed_hosts/>
362
386
  <units>rps</units>
363
387
  <delta>1</delta>
388
+ <snmpv3_contextname/>
364
389
  <snmpv3_securityname/>
365
390
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
391
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
366
392
  <snmpv3_authpassphrase/>
393
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
367
394
  <snmpv3_privpassphrase/>
368
395
  <formula>1</formula>
369
396
  <delay_flex/>
@@ -393,16 +420,19 @@
393
420
  <snmp_oid/>
394
421
  <key>mysql.status[Slow_queries]</key>
395
422
  <delay>0</delay>
396
- <history>30</history>
397
- <trends>365</trends>
423
+ <history>7</history>
424
+ <trends>730</trends>
398
425
  <status>0</status>
399
426
  <value_type>3</value_type>
400
427
  <allowed_hosts/>
401
428
  <units/>
402
429
  <delta>0</delta>
430
+ <snmpv3_contextname/>
403
431
  <snmpv3_securityname/>
404
432
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
433
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
405
434
  <snmpv3_authpassphrase/>
435
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
406
436
  <snmpv3_privpassphrase/>
407
437
  <formula>1</formula>
408
438
  <delay_flex/>
@@ -432,16 +462,19 @@
432
462
  <snmp_oid/>
433
463
  <key>mysql.ping</key>
434
464
  <delay>0</delay>
435
- <history>30</history>
436
- <trends>365</trends>
465
+ <history>7</history>
466
+ <trends>730</trends>
437
467
  <status>0</status>
438
468
  <value_type>3</value_type>
439
469
  <allowed_hosts/>
440
470
  <units/>
441
471
  <delta>0</delta>
472
+ <snmpv3_contextname/>
442
473
  <snmpv3_securityname/>
443
474
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
475
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
444
476
  <snmpv3_authpassphrase/>
477
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
445
478
  <snmpv3_privpassphrase/>
446
479
  <formula>1</formula>
447
480
  <delay_flex/>
@@ -474,16 +507,19 @@
474
507
  <snmp_oid/>
475
508
  <key>mysql.status[Com_update]</key>
476
509
  <delay>0</delay>
477
- <history>30</history>
478
- <trends>365</trends>
510
+ <history>7</history>
511
+ <trends>730</trends>
479
512
  <status>0</status>
480
513
  <value_type>0</value_type>
481
514
  <allowed_hosts/>
482
515
  <units>qps</units>
483
516
  <delta>1</delta>
517
+ <snmpv3_contextname/>
484
518
  <snmpv3_securityname/>
485
519
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
520
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
486
521
  <snmpv3_authpassphrase/>
522
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
487
523
  <snmpv3_privpassphrase/>
488
524
  <formula>1</formula>
489
525
  <delay_flex/>
@@ -513,16 +549,19 @@
513
549
  <snmp_oid/>
514
550
  <key>mysql.status[Uptime]</key>
515
551
  <delay>0</delay>
516
- <history>30</history>
517
- <trends>365</trends>
552
+ <history>7</history>
553
+ <trends>730</trends>
518
554
  <status>0</status>
519
555
  <value_type>3</value_type>
520
556
  <allowed_hosts/>
521
557
  <units>uptime</units>
522
558
  <delta>0</delta>
559
+ <snmpv3_contextname/>
523
560
  <snmpv3_securityname/>
524
561
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
562
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
525
563
  <snmpv3_authpassphrase/>
564
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
526
565
  <snmpv3_privpassphrase/>
527
566
  <formula>1</formula>
528
567
  <delay_flex/>
@@ -552,16 +591,19 @@
552
591
  <snmp_oid/>
553
592
  <key>mysql.version</key>
554
593
  <delay>0</delay>
555
- <history>30</history>
594
+ <history>7</history>
556
595
  <trends>365</trends>
557
596
  <status>0</status>
558
597
  <value_type>1</value_type>
559
598
  <allowed_hosts/>
560
599
  <units/>
561
600
  <delta>0</delta>
601
+ <snmpv3_contextname/>
562
602
  <snmpv3_securityname/>
563
603
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
604
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
564
605
  <snmpv3_authpassphrase/>
606
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
565
607
  <snmpv3_privpassphrase/>
566
608
  <formula>1</formula>
567
609
  <delay_flex/>