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.
- checksums.yaml +7 -0
- data/.gitignore +2 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +10 -1
- data/README.md +7 -2
- data/lib/zabbix-ruby-client/plugin_base.rb +28 -0
- data/lib/zabbix-ruby-client/plugins/ovpn.rb +55 -0
- data/lib/zabbix-ruby-client/plugins/postgres.rb +45 -0
- data/lib/zabbix-ruby-client/runner.rb +11 -1
- data/lib/zabbix-ruby-client/version.rb +1 -1
- data/spec/files/system/net_dev +1 -1
- data/spec/lib/cli_spec.rb +7 -7
- data/spec/lib/data_spec.rb +5 -5
- data/spec/lib/plugin_base_spec.rb +6 -6
- data/spec/lib/plugins/apache_spec.rb +1 -1
- data/spec/lib/plugins/apt_spec.rb +5 -5
- data/spec/lib/plugins/cpu_spec.rb +3 -3
- data/spec/lib/plugins/disk_spec.rb +40 -40
- data/spec/lib/plugins/load_spec.rb +5 -5
- data/spec/lib/plugins/memory_spec.rb +52 -52
- data/spec/lib/plugins/network_spec.rb +28 -29
- data/spec/lib/runner_spec.rb +21 -8
- data/zabbix-templates/apache_tpl.xml +115 -46
- data/zabbix-templates/apt_tpl.xml +13 -4
- data/zabbix-templates/cisco_tpl.xml +2089 -0
- data/zabbix-templates/cpu_tpl.xml +116 -53
- data/zabbix-templates/disk_tpl.xml +75 -29
- data/zabbix-templates/load_tpl.xml +21 -9
- data/zabbix-templates/memory_tpl.xml +52 -28
- data/zabbix-templates/mysql_tpl.xml +70 -28
- data/zabbix-templates/network_tpl.xml +40 -96
- data/zabbix-templates/nginx_tpl.xml +37 -16
- data/zabbix-templates/openvpn_tpl.xml +312 -0
- data/zabbix-templates/postgres_tpl.xml +891 -8
- data/zabbix-templates/redis_tpl.xml +46 -19
- data/zabbix-templates/sysinfo_tpl.xml +21 -3
- data/zabbix-templates/system_tpl.xml +339 -3
- 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>
|
4
|
+
<date>2014-01-02T03:31:10Z</date>
|
5
5
|
<groups>
|
6
6
|
<group>
|
7
7
|
<name>3. Service Apache</name>
|
@@ -30,16 +30,19 @@
|
|
30
30
|
<snmp_oid/>
|
31
31
|
<key>apache[BusyWorkers]</key>
|
32
32
|
<delay>0</delay>
|
33
|
-
<history>
|
34
|
-
<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/>
|
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>apache[BytesPerReq]</key>
|
71
74
|
<delay>0</delay>
|
72
|
-
<history>
|
73
|
-
<trends>
|
75
|
+
<history>7</history>
|
76
|
+
<trends>730</trends>
|
74
77
|
<status>0</status>
|
75
78
|
<value_type>0</value_type>
|
76
79
|
<allowed_hosts/>
|
77
80
|
<units>B</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>apache[BytesPerSec]</key>
|
110
116
|
<delay>0</delay>
|
111
|
-
<history>
|
112
|
-
<trends>
|
117
|
+
<history>7</history>
|
118
|
+
<trends>730</trends>
|
113
119
|
<status>0</status>
|
114
120
|
<value_type>0</value_type>
|
115
121
|
<allowed_hosts/>
|
116
122
|
<units>Bps</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>apache[c_closing]</key>
|
149
158
|
<delay>0</delay>
|
150
|
-
<history>
|
151
|
-
<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/>
|
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>apache[CPULoad]</key>
|
188
200
|
<delay>0</delay>
|
189
|
-
<history>
|
190
|
-
<trends>
|
201
|
+
<history>7</history>
|
202
|
+
<trends>730</trends>
|
191
203
|
<status>0</status>
|
192
204
|
<value_type>0</value_type>
|
193
205
|
<allowed_hosts/>
|
194
206
|
<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>apache[c_dns]</key>
|
227
242
|
<delay>0</delay>
|
228
|
-
<history>
|
229
|
-
<trends>
|
243
|
+
<history>7</history>
|
244
|
+
<trends>730</trends>
|
230
245
|
<status>0</status>
|
231
246
|
<value_type>3</value_type>
|
232
247
|
<allowed_hosts/>
|
233
248
|
<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>apache[FreeWorkers]</key>
|
266
284
|
<delay>60</delay>
|
267
|
-
<history>
|
268
|
-
<trends>
|
285
|
+
<history>7</history>
|
286
|
+
<trends>730</trends>
|
269
287
|
<status>0</status>
|
270
288
|
<value_type>0</value_type>
|
271
289
|
<allowed_hosts/>
|
272
290
|
<units>%</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>apache[c_finish]</key>
|
305
326
|
<delay>0</delay>
|
306
|
-
<history>
|
307
|
-
<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/>
|
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/>
|
@@ -342,16 +366,19 @@
|
|
342
366
|
<snmp_oid/>
|
343
367
|
<key>net.tcp.service[http]</key>
|
344
368
|
<delay>30</delay>
|
345
|
-
<history>
|
346
|
-
<trends>
|
369
|
+
<history>7</history>
|
370
|
+
<trends>730</trends>
|
347
371
|
<status>0</status>
|
348
372
|
<value_type>3</value_type>
|
349
373
|
<allowed_hosts/>
|
350
374
|
<units/>
|
351
375
|
<delta>0</delta>
|
376
|
+
<snmpv3_contextname/>
|
352
377
|
<snmpv3_securityname/>
|
353
378
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
379
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
354
380
|
<snmpv3_authpassphrase/>
|
381
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
355
382
|
<snmpv3_privpassphrase/>
|
356
383
|
<formula>1</formula>
|
357
384
|
<delay_flex/>
|
@@ -383,16 +410,19 @@
|
|
383
410
|
<snmp_oid/>
|
384
411
|
<key>apache[c_idle]</key>
|
385
412
|
<delay>0</delay>
|
386
|
-
<history>
|
387
|
-
<trends>
|
413
|
+
<history>7</history>
|
414
|
+
<trends>730</trends>
|
388
415
|
<status>0</status>
|
389
416
|
<value_type>3</value_type>
|
390
417
|
<allowed_hosts/>
|
391
418
|
<units/>
|
392
419
|
<delta>0</delta>
|
420
|
+
<snmpv3_contextname/>
|
393
421
|
<snmpv3_securityname/>
|
394
422
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
423
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
395
424
|
<snmpv3_authpassphrase/>
|
425
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
396
426
|
<snmpv3_privpassphrase/>
|
397
427
|
<formula>1</formula>
|
398
428
|
<delay_flex/>
|
@@ -422,16 +452,19 @@
|
|
422
452
|
<snmp_oid/>
|
423
453
|
<key>apache[c_cleanup]</key>
|
424
454
|
<delay>0</delay>
|
425
|
-
<history>
|
426
|
-
<trends>
|
455
|
+
<history>7</history>
|
456
|
+
<trends>730</trends>
|
427
457
|
<status>0</status>
|
428
458
|
<value_type>3</value_type>
|
429
459
|
<allowed_hosts/>
|
430
460
|
<units/>
|
431
461
|
<delta>0</delta>
|
462
|
+
<snmpv3_contextname/>
|
432
463
|
<snmpv3_securityname/>
|
433
464
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
465
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
434
466
|
<snmpv3_authpassphrase/>
|
467
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
435
468
|
<snmpv3_privpassphrase/>
|
436
469
|
<formula>1</formula>
|
437
470
|
<delay_flex/>
|
@@ -461,16 +494,19 @@
|
|
461
494
|
<snmp_oid/>
|
462
495
|
<key>apache[IdleWorkers]</key>
|
463
496
|
<delay>0</delay>
|
464
|
-
<history>
|
465
|
-
<trends>
|
497
|
+
<history>7</history>
|
498
|
+
<trends>730</trends>
|
466
499
|
<status>0</status>
|
467
500
|
<value_type>3</value_type>
|
468
501
|
<allowed_hosts/>
|
469
502
|
<units/>
|
470
503
|
<delta>0</delta>
|
504
|
+
<snmpv3_contextname/>
|
471
505
|
<snmpv3_securityname/>
|
472
506
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
507
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
473
508
|
<snmpv3_authpassphrase/>
|
509
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
474
510
|
<snmpv3_privpassphrase/>
|
475
511
|
<formula>1</formula>
|
476
512
|
<delay_flex/>
|
@@ -500,16 +536,19 @@
|
|
500
536
|
<snmp_oid/>
|
501
537
|
<key>apache[c_keep]</key>
|
502
538
|
<delay>0</delay>
|
503
|
-
<history>
|
504
|
-
<trends>
|
539
|
+
<history>7</history>
|
540
|
+
<trends>730</trends>
|
505
541
|
<status>0</status>
|
506
542
|
<value_type>3</value_type>
|
507
543
|
<allowed_hosts/>
|
508
544
|
<units/>
|
509
545
|
<delta>0</delta>
|
546
|
+
<snmpv3_contextname/>
|
510
547
|
<snmpv3_securityname/>
|
511
548
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
549
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
512
550
|
<snmpv3_authpassphrase/>
|
551
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
513
552
|
<snmpv3_privpassphrase/>
|
514
553
|
<formula>1</formula>
|
515
554
|
<delay_flex/>
|
@@ -539,16 +578,19 @@
|
|
539
578
|
<snmp_oid/>
|
540
579
|
<key>apache[c_log]</key>
|
541
580
|
<delay>0</delay>
|
542
|
-
<history>
|
543
|
-
<trends>
|
581
|
+
<history>7</history>
|
582
|
+
<trends>730</trends>
|
544
583
|
<status>0</status>
|
545
584
|
<value_type>3</value_type>
|
546
585
|
<allowed_hosts/>
|
547
586
|
<units/>
|
548
587
|
<delta>0</delta>
|
588
|
+
<snmpv3_contextname/>
|
549
589
|
<snmpv3_securityname/>
|
550
590
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
591
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
551
592
|
<snmpv3_authpassphrase/>
|
593
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
552
594
|
<snmpv3_privpassphrase/>
|
553
595
|
<formula>1</formula>
|
554
596
|
<delay_flex/>
|
@@ -578,16 +620,19 @@
|
|
578
620
|
<snmp_oid/>
|
579
621
|
<key>apache[c_read]</key>
|
580
622
|
<delay>0</delay>
|
581
|
-
<history>
|
582
|
-
<trends>
|
623
|
+
<history>7</history>
|
624
|
+
<trends>730</trends>
|
583
625
|
<status>0</status>
|
584
626
|
<value_type>3</value_type>
|
585
627
|
<allowed_hosts/>
|
586
628
|
<units/>
|
587
629
|
<delta>0</delta>
|
630
|
+
<snmpv3_contextname/>
|
588
631
|
<snmpv3_securityname/>
|
589
632
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
633
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
590
634
|
<snmpv3_authpassphrase/>
|
635
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
591
636
|
<snmpv3_privpassphrase/>
|
592
637
|
<formula>1</formula>
|
593
638
|
<delay_flex/>
|
@@ -617,16 +662,19 @@
|
|
617
662
|
<snmp_oid/>
|
618
663
|
<key>apache[ReqPerSec]</key>
|
619
664
|
<delay>0</delay>
|
620
|
-
<history>
|
621
|
-
<trends>
|
665
|
+
<history>7</history>
|
666
|
+
<trends>730</trends>
|
622
667
|
<status>0</status>
|
623
668
|
<value_type>0</value_type>
|
624
669
|
<allowed_hosts/>
|
625
670
|
<units/>
|
626
671
|
<delta>0</delta>
|
672
|
+
<snmpv3_contextname/>
|
627
673
|
<snmpv3_securityname/>
|
628
674
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
675
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
629
676
|
<snmpv3_authpassphrase/>
|
677
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
630
678
|
<snmpv3_privpassphrase/>
|
631
679
|
<formula>1</formula>
|
632
680
|
<delay_flex/>
|
@@ -656,16 +704,19 @@
|
|
656
704
|
<snmp_oid/>
|
657
705
|
<key>apache[c_send]</key>
|
658
706
|
<delay>0</delay>
|
659
|
-
<history>
|
660
|
-
<trends>
|
707
|
+
<history>7</history>
|
708
|
+
<trends>730</trends>
|
661
709
|
<status>0</status>
|
662
710
|
<value_type>3</value_type>
|
663
711
|
<allowed_hosts/>
|
664
712
|
<units/>
|
665
713
|
<delta>0</delta>
|
714
|
+
<snmpv3_contextname/>
|
666
715
|
<snmpv3_securityname/>
|
667
716
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
717
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
668
718
|
<snmpv3_authpassphrase/>
|
719
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
669
720
|
<snmpv3_privpassphrase/>
|
670
721
|
<formula>1</formula>
|
671
722
|
<delay_flex/>
|
@@ -695,16 +746,19 @@
|
|
695
746
|
<snmp_oid/>
|
696
747
|
<key>apache[c_start]</key>
|
697
748
|
<delay>0</delay>
|
698
|
-
<history>
|
699
|
-
<trends>
|
749
|
+
<history>7</history>
|
750
|
+
<trends>730</trends>
|
700
751
|
<status>0</status>
|
701
752
|
<value_type>3</value_type>
|
702
753
|
<allowed_hosts/>
|
703
754
|
<units/>
|
704
755
|
<delta>0</delta>
|
756
|
+
<snmpv3_contextname/>
|
705
757
|
<snmpv3_securityname/>
|
706
758
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
759
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
707
760
|
<snmpv3_authpassphrase/>
|
761
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
708
762
|
<snmpv3_privpassphrase/>
|
709
763
|
<formula>1</formula>
|
710
764
|
<delay_flex/>
|
@@ -734,16 +788,19 @@
|
|
734
788
|
<snmp_oid/>
|
735
789
|
<key>apache[TotalAccesses]</key>
|
736
790
|
<delay>0</delay>
|
737
|
-
<history>
|
738
|
-
<trends>
|
791
|
+
<history>7</history>
|
792
|
+
<trends>730</trends>
|
739
793
|
<status>0</status>
|
740
794
|
<value_type>3</value_type>
|
741
795
|
<allowed_hosts/>
|
742
796
|
<units/>
|
743
797
|
<delta>0</delta>
|
798
|
+
<snmpv3_contextname/>
|
744
799
|
<snmpv3_securityname/>
|
745
800
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
801
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
746
802
|
<snmpv3_authpassphrase/>
|
803
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
747
804
|
<snmpv3_privpassphrase/>
|
748
805
|
<formula>1</formula>
|
749
806
|
<delay_flex/>
|
@@ -773,16 +830,19 @@
|
|
773
830
|
<snmp_oid/>
|
774
831
|
<key>apache[TotalKBytes]</key>
|
775
832
|
<delay>0</delay>
|
776
|
-
<history>
|
777
|
-
<trends>
|
833
|
+
<history>7</history>
|
834
|
+
<trends>730</trends>
|
778
835
|
<status>0</status>
|
779
836
|
<value_type>0</value_type>
|
780
837
|
<allowed_hosts/>
|
781
838
|
<units/>
|
782
839
|
<delta>0</delta>
|
840
|
+
<snmpv3_contextname/>
|
783
841
|
<snmpv3_securityname/>
|
784
842
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
843
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
785
844
|
<snmpv3_authpassphrase/>
|
845
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
786
846
|
<snmpv3_privpassphrase/>
|
787
847
|
<formula>1</formula>
|
788
848
|
<delay_flex/>
|
@@ -812,16 +872,19 @@
|
|
812
872
|
<snmp_oid/>
|
813
873
|
<key>apache[Uptime]</key>
|
814
874
|
<delay>0</delay>
|
815
|
-
<history>
|
816
|
-
<trends>
|
875
|
+
<history>7</history>
|
876
|
+
<trends>730</trends>
|
817
877
|
<status>0</status>
|
818
878
|
<value_type>0</value_type>
|
819
879
|
<allowed_hosts/>
|
820
880
|
<units/>
|
821
881
|
<delta>0</delta>
|
882
|
+
<snmpv3_contextname/>
|
822
883
|
<snmpv3_securityname/>
|
823
884
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
885
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
824
886
|
<snmpv3_authpassphrase/>
|
887
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
825
888
|
<snmpv3_privpassphrase/>
|
826
889
|
<formula>1</formula>
|
827
890
|
<delay_flex/>
|
@@ -851,16 +914,19 @@
|
|
851
914
|
<snmp_oid/>
|
852
915
|
<key>apache[c_waiting]</key>
|
853
916
|
<delay>0</delay>
|
854
|
-
<history>
|
855
|
-
<trends>
|
917
|
+
<history>7</history>
|
918
|
+
<trends>730</trends>
|
856
919
|
<status>0</status>
|
857
920
|
<value_type>3</value_type>
|
858
921
|
<allowed_hosts/>
|
859
922
|
<units/>
|
860
923
|
<delta>0</delta>
|
924
|
+
<snmpv3_contextname/>
|
861
925
|
<snmpv3_securityname/>
|
862
926
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
927
|
+
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
863
928
|
<snmpv3_authpassphrase/>
|
929
|
+
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
864
930
|
<snmpv3_privpassphrase/>
|
865
931
|
<formula>1</formula>
|
866
932
|
<delay_flex/>
|
@@ -911,6 +977,7 @@
|
|
911
977
|
<name>Apache connections</name>
|
912
978
|
<host>Apache Stats</host>
|
913
979
|
</resource>
|
980
|
+
<application/>
|
914
981
|
</screen_item>
|
915
982
|
<screen_item>
|
916
983
|
<resourcetype>0</resourcetype>
|
@@ -931,6 +998,7 @@
|
|
931
998
|
<name>Apache workers</name>
|
932
999
|
<host>Apache Stats</host>
|
933
1000
|
</resource>
|
1001
|
+
<application/>
|
934
1002
|
</screen_item>
|
935
1003
|
<screen_item>
|
936
1004
|
<resourcetype>3</resourcetype>
|
@@ -951,6 +1019,7 @@
|
|
951
1019
|
<key>apache[Uptime]</key>
|
952
1020
|
<host>Apache Stats</host>
|
953
1021
|
</resource>
|
1022
|
+
<application/>
|
954
1023
|
</screen_item>
|
955
1024
|
</screen_items>
|
956
1025
|
</screen>
|
@@ -959,7 +1028,7 @@
|
|
959
1028
|
</templates>
|
960
1029
|
<triggers>
|
961
1030
|
<trigger>
|
962
|
-
<expression>{Apache Stats:net.tcp.service[http].
|
1031
|
+
<expression>{Apache Stats:net.tcp.service[http].max(180)}=0</expression>
|
963
1032
|
<name>Apache Down</name>
|
964
1033
|
<url/>
|
965
1034
|
<status>0</status>
|
@@ -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>
|
4
|
+
<date>2014-01-02T03:31:40Z</date>
|
5
5
|
<groups>
|
6
6
|
<group>
|
7
7
|
<name>3. Service Ubuntu</name>
|
@@ -30,16 +30,19 @@
|
|
30
30
|
<snmp_oid/>
|
31
31
|
<key>apt[pending]</key>
|
32
32
|
<delay>0</delay>
|
33
|
-
<history>
|
33
|
+
<history>14</history>
|
34
34
|
<trends>365</trends>
|
35
35
|
<status>0</status>
|
36
36
|
<value_type>4</value_type>
|
37
37
|
<allowed_hosts/>
|
38
38
|
<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>apt[security]</key>
|
71
74
|
<delay>0</delay>
|
72
|
-
<history>
|
75
|
+
<history>14</history>
|
73
76
|
<trends>365</trends>
|
74
77
|
<status>0</status>
|
75
78
|
<value_type>4</value_type>
|
76
79
|
<allowed_hosts/>
|
77
80
|
<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>apt[status]</key>
|
110
116
|
<delay>0</delay>
|
111
|
-
<history>
|
117
|
+
<history>14</history>
|
112
118
|
<trends>365</trends>
|
113
119
|
<status>0</status>
|
114
120
|
<value_type>4</value_type>
|
115
121
|
<allowed_hosts/>
|
116
122
|
<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/>
|