Project

General

Profile

Download (24.9 KB) Statistics
| Branch: | Revision:

root / templates / Template_App_Web_Apache.xml @ 96ba0c24

1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:48:05Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App Web Apache</template>
19
            <name>Template App Web Apache</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>Apache</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>Apache bandwidth</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>1</multiplier>
42
                    <snmp_oid/>
43
                    <key>apache.status[Total kBytes]</key>
44
                    <delay>300</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts>localhost</allowed_hosts>
50
                    <units>bps</units>
51
                    <delta>1</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>8192</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>Apache</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
                <item>
81
                    <name>Apache busy workers</name>
82
                    <type>0</type>
83
                    <snmp_community/>
84
                    <multiplier>0</multiplier>
85
                    <snmp_oid/>
86
                    <key>apache.status[BusyWorkers]</key>
87
                    <delay>300</delay>
88
                    <history>7</history>
89
                    <trends>365</trends>
90
                    <status>0</status>
91
                    <value_type>3</value_type>
92
                    <allowed_hosts>localhost</allowed_hosts>
93
                    <units/>
94
                    <delta>0</delta>
95
                    <snmpv3_contextname/>
96
                    <snmpv3_securityname/>
97
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
98
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
99
                    <snmpv3_authpassphrase/>
100
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
101
                    <snmpv3_privpassphrase/>
102
                    <formula>0</formula>
103
                    <delay_flex/>
104
                    <params/>
105
                    <ipmi_sensor/>
106
                    <data_type>0</data_type>
107
                    <authtype>0</authtype>
108
                    <username/>
109
                    <password/>
110
                    <publickey/>
111
                    <privatekey/>
112
                    <port/>
113
                    <description/>
114
                    <inventory_link>0</inventory_link>
115
                    <applications>
116
                        <application>
117
                            <name>Apache</name>
118
                        </application>
119
                    </applications>
120
                    <valuemap/>
121
                    <logtimefmt/>
122
                </item>
123
                <item>
124
                    <name>Apache CPU load</name>
125
                    <type>0</type>
126
                    <snmp_community/>
127
                    <multiplier>0</multiplier>
128
                    <snmp_oid/>
129
                    <key>apache.status[CPULoad]</key>
130
                    <delay>300</delay>
131
                    <history>7</history>
132
                    <trends>365</trends>
133
                    <status>0</status>
134
                    <value_type>0</value_type>
135
                    <allowed_hosts>localhost</allowed_hosts>
136
                    <units/>
137
                    <delta>0</delta>
138
                    <snmpv3_contextname/>
139
                    <snmpv3_securityname/>
140
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
141
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
142
                    <snmpv3_authpassphrase/>
143
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
144
                    <snmpv3_privpassphrase/>
145
                    <formula>0</formula>
146
                    <delay_flex/>
147
                    <params/>
148
                    <ipmi_sensor/>
149
                    <data_type>0</data_type>
150
                    <authtype>0</authtype>
151
                    <username/>
152
                    <password/>
153
                    <publickey/>
154
                    <privatekey/>
155
                    <port/>
156
                    <description/>
157
                    <inventory_link>0</inventory_link>
158
                    <applications>
159
                        <application>
160
                            <name>Apache</name>
161
                        </application>
162
                    </applications>
163
                    <valuemap/>
164
                    <logtimefmt/>
165
                </item>
166
                <item>
167
                    <name>Apache hits</name>
168
                    <type>0</type>
169
                    <snmp_community/>
170
                    <multiplier>0</multiplier>
171
                    <snmp_oid/>
172
                    <key>apache.status[Total Accesses]</key>
173
                    <delay>300</delay>
174
                    <history>7</history>
175
                    <trends>365</trends>
176
                    <status>0</status>
177
                    <value_type>3</value_type>
178
                    <allowed_hosts>localhost</allowed_hosts>
179
                    <units>Hits/s</units>
180
                    <delta>1</delta>
181
                    <snmpv3_contextname/>
182
                    <snmpv3_securityname/>
183
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
184
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
185
                    <snmpv3_authpassphrase/>
186
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
187
                    <snmpv3_privpassphrase/>
188
                    <formula>0</formula>
189
                    <delay_flex/>
190
                    <params/>
191
                    <ipmi_sensor/>
192
                    <data_type>0</data_type>
193
                    <authtype>0</authtype>
194
                    <username/>
195
                    <password/>
196
                    <publickey/>
197
                    <privatekey/>
198
                    <port/>
199
                    <description/>
200
                    <inventory_link>0</inventory_link>
201
                    <applications>
202
                        <application>
203
                            <name>Apache</name>
204
                        </application>
205
                    </applications>
206
                    <valuemap/>
207
                    <logtimefmt/>
208
                </item>
209
                <item>
210
                    <name>Apache idle workers</name>
211
                    <type>0</type>
212
                    <snmp_community/>
213
                    <multiplier>0</multiplier>
214
                    <snmp_oid/>
215
                    <key>apache.status[IdleWorkers]</key>
216
                    <delay>300</delay>
217
                    <history>7</history>
218
                    <trends>365</trends>
219
                    <status>0</status>
220
                    <value_type>3</value_type>
221
                    <allowed_hosts>localhost</allowed_hosts>
222
                    <units/>
223
                    <delta>0</delta>
224
                    <snmpv3_contextname/>
225
                    <snmpv3_securityname/>
226
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
227
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
228
                    <snmpv3_authpassphrase/>
229
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
230
                    <snmpv3_privpassphrase/>
231
                    <formula>0</formula>
232
                    <delay_flex/>
233
                    <params/>
234
                    <ipmi_sensor/>
235
                    <data_type>0</data_type>
236
                    <authtype>0</authtype>
237
                    <username/>
238
                    <password/>
239
                    <publickey/>
240
                    <privatekey/>
241
                    <port/>
242
                    <description/>
243
                    <inventory_link>0</inventory_link>
244
                    <applications>
245
                        <application>
246
                            <name>Apache</name>
247
                        </application>
248
                    </applications>
249
                    <valuemap/>
250
                    <logtimefmt/>
251
                </item>
252
                <item>
253
                    <name>Apache total workers</name>
254
                    <type>15</type>
255
                    <snmp_community/>
256
                    <multiplier>0</multiplier>
257
                    <snmp_oid/>
258
                    <key>apache.status[AllWorkers]</key>
259
                    <delay>300</delay>
260
                    <history>7</history>
261
                    <trends>365</trends>
262
                    <status>0</status>
263
                    <value_type>3</value_type>
264
                    <allowed_hosts>localhost</allowed_hosts>
265
                    <units/>
266
                    <delta>0</delta>
267
                    <snmpv3_contextname/>
268
                    <snmpv3_securityname/>
269
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
270
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
271
                    <snmpv3_authpassphrase/>
272
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
273
                    <snmpv3_privpassphrase/>
274
                    <formula>0</formula>
275
                    <delay_flex/>
276
                    <params>last(apache.status[BusyWorkers])+last(apache.status[IdleWorkers])</params>
277
                    <ipmi_sensor/>
278
                    <data_type>0</data_type>
279
                    <authtype>0</authtype>
280
                    <username/>
281
                    <password/>
282
                    <publickey/>
283
                    <privatekey/>
284
                    <port/>
285
                    <description/>
286
                    <inventory_link>0</inventory_link>
287
                    <applications>
288
                        <application>
289
                            <name>Apache</name>
290
                        </application>
291
                    </applications>
292
                    <valuemap/>
293
                    <logtimefmt/>
294
                </item>
295
                <item>
296
                    <name>Number of running processes apache</name>
297
                    <type>0</type>
298
                    <snmp_community/>
299
                    <multiplier>0</multiplier>
300
                    <snmp_oid/>
301
                    <key>proc.num[apache2]</key>
302
                    <delay>60</delay>
303
                    <history>7</history>
304
                    <trends>365</trends>
305
                    <status>0</status>
306
                    <value_type>3</value_type>
307
                    <allowed_hosts/>
308
                    <units/>
309
                    <delta>0</delta>
310
                    <snmpv3_contextname/>
311
                    <snmpv3_securityname/>
312
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
313
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
314
                    <snmpv3_authpassphrase/>
315
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
316
                    <snmpv3_privpassphrase/>
317
                    <formula>0</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>Apache</name>
333
                        </application>
334
                    </applications>
335
                    <valuemap/>
336
                    <logtimefmt/>
337
                </item>
338
                <item>
339
                    <name>WEB (HTTP) server is running</name>
340
                    <type>0</type>
341
                    <snmp_community/>
342
                    <multiplier>0</multiplier>
343
                    <snmp_oid/>
344
                    <key>net.tcp.service[http]</key>
345
                    <delay>60</delay>
346
                    <history>7</history>
347
                    <trends>365</trends>
348
                    <status>0</status>
349
                    <value_type>3</value_type>
350
                    <allowed_hosts/>
351
                    <units/>
352
                    <delta>0</delta>
353
                    <snmpv3_contextname/>
354
                    <snmpv3_securityname/>
355
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
356
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
357
                    <snmpv3_authpassphrase/>
358
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
359
                    <snmpv3_privpassphrase/>
360
                    <formula>0</formula>
361
                    <delay_flex/>
362
                    <params/>
363
                    <ipmi_sensor/>
364
                    <data_type>0</data_type>
365
                    <authtype>0</authtype>
366
                    <username/>
367
                    <password/>
368
                    <publickey/>
369
                    <privatekey/>
370
                    <port/>
371
                    <description/>
372
                    <inventory_link>0</inventory_link>
373
                    <applications>
374
                        <application>
375
                            <name>Apache</name>
376
                        </application>
377
                    </applications>
378
                    <valuemap/>
379
                    <logtimefmt/>
380
                </item>
381
            </items>
382
            <discovery_rules/>
383
            <macros/>
384
            <templates/>
385
            <screens>
386
                <screen>
387
                    <name>Apache</name>
388
                    <hsize>2</hsize>
389
                    <vsize>2</vsize>
390
                    <screen_items>
391
                        <screen_item>
392
                            <resourcetype>0</resourcetype>
393
                            <width>500</width>
394
                            <height>100</height>
395
                            <x>0</x>
396
                            <y>0</y>
397
                            <colspan>1</colspan>
398
                            <rowspan>1</rowspan>
399
                            <elements>0</elements>
400
                            <valign>0</valign>
401
                            <halign>0</halign>
402
                            <style>0</style>
403
                            <url/>
404
                            <dynamic>0</dynamic>
405
                            <sort_triggers>0</sort_triggers>
406
                            <resource>
407
                                <name>Apache bandwidth</name>
408
                                <host>Template App Web Apache</host>
409
                            </resource>
410
                            <application/>
411
                        </screen_item>
412
                        <screen_item>
413
                            <resourcetype>0</resourcetype>
414
                            <width>500</width>
415
                            <height>100</height>
416
                            <x>1</x>
417
                            <y>0</y>
418
                            <colspan>1</colspan>
419
                            <rowspan>1</rowspan>
420
                            <elements>0</elements>
421
                            <valign>0</valign>
422
                            <halign>0</halign>
423
                            <style>0</style>
424
                            <url/>
425
                            <dynamic>0</dynamic>
426
                            <sort_triggers>0</sort_triggers>
427
                            <resource>
428
                                <name>Apache Hits</name>
429
                                <host>Template App Web Apache</host>
430
                            </resource>
431
                            <application/>
432
                        </screen_item>
433
                        <screen_item>
434
                            <resourcetype>0</resourcetype>
435
                            <width>500</width>
436
                            <height>100</height>
437
                            <x>0</x>
438
                            <y>1</y>
439
                            <colspan>1</colspan>
440
                            <rowspan>1</rowspan>
441
                            <elements>0</elements>
442
                            <valign>0</valign>
443
                            <halign>0</halign>
444
                            <style>0</style>
445
                            <url/>
446
                            <dynamic>0</dynamic>
447
                            <sort_triggers>0</sort_triggers>
448
                            <resource>
449
                                <name>Apache CPU Load</name>
450
                                <host>Template App Web Apache</host>
451
                            </resource>
452
                            <application/>
453
                        </screen_item>
454
                        <screen_item>
455
                            <resourcetype>0</resourcetype>
456
                            <width>500</width>
457
                            <height>100</height>
458
                            <x>1</x>
459
                            <y>1</y>
460
                            <colspan>1</colspan>
461
                            <rowspan>1</rowspan>
462
                            <elements>0</elements>
463
                            <valign>0</valign>
464
                            <halign>0</halign>
465
                            <style>0</style>
466
                            <url/>
467
                            <dynamic>0</dynamic>
468
                            <sort_triggers>0</sort_triggers>
469
                            <resource>
470
                                <name>Apache busy workers</name>
471
                                <host>Template App Web Apache</host>
472
                            </resource>
473
                            <application/>
474
                        </screen_item>
475
                    </screen_items>
476
                </screen>
477
            </screens>
478
        </template>
479
    </templates>
480
    <triggers>
481
        <trigger>
482
            <expression>{Template App Web Apache:proc.num[apache2].last(0)}&lt;1</expression>
483
            <name>Apache is not running on {HOSTNAME}</name>
484
            <url/>
485
            <status>0</status>
486
            <priority>4</priority>
487
            <description/>
488
            <type>0</type>
489
            <dependencies/>
490
        </trigger>
491
        <trigger>
492
            <expression>{Template App Web Apache:net.tcp.service[http].last(0)}=0</expression>
493
            <name>Apache server is down on {HOSTNAME}</name>
494
            <url/>
495
            <status>0</status>
496
            <priority>4</priority>
497
            <description/>
498
            <type>0</type>
499
            <dependencies>
500
                <dependency>
501
                    <name>Apache is not running on {HOSTNAME}</name>
502
                    <expression>{Template App Web Apache:proc.num[apache2].last(0)}&lt;1</expression>
503
                </dependency>
504
            </dependencies>
505
        </trigger>
506
    </triggers>
507
    <graphs>
508
        <graph>
509
            <name>Apache bandwidth</name>
510
            <width>900</width>
511
            <height>200</height>
512
            <yaxismin>0.0000</yaxismin>
513
            <yaxismax>100.0000</yaxismax>
514
            <show_work_period>0</show_work_period>
515
            <show_triggers>1</show_triggers>
516
            <type>0</type>
517
            <show_legend>1</show_legend>
518
            <show_3d>0</show_3d>
519
            <percent_left>0.0000</percent_left>
520
            <percent_right>0.0000</percent_right>
521
            <ymin_type_1>1</ymin_type_1>
522
            <ymax_type_1>0</ymax_type_1>
523
            <ymin_item_1>0</ymin_item_1>
524
            <ymax_item_1>0</ymax_item_1>
525
            <graph_items>
526
                <graph_item>
527
                    <sortorder>0</sortorder>
528
                    <drawtype>0</drawtype>
529
                    <color>009900</color>
530
                    <yaxisside>0</yaxisside>
531
                    <calc_fnc>2</calc_fnc>
532
                    <type>0</type>
533
                    <item>
534
                        <host>Template App Web Apache</host>
535
                        <key>apache.status[Total kBytes]</key>
536
                    </item>
537
                </graph_item>
538
            </graph_items>
539
        </graph>
540
        <graph>
541
            <name>Apache busy workers</name>
542
            <width>900</width>
543
            <height>200</height>
544
            <yaxismin>0.0000</yaxismin>
545
            <yaxismax>0.0000</yaxismax>
546
            <show_work_period>0</show_work_period>
547
            <show_triggers>1</show_triggers>
548
            <type>0</type>
549
            <show_legend>1</show_legend>
550
            <show_3d>0</show_3d>
551
            <percent_left>0.0000</percent_left>
552
            <percent_right>0.0000</percent_right>
553
            <ymin_type_1>1</ymin_type_1>
554
            <ymax_type_1>2</ymax_type_1>
555
            <ymin_item_1>0</ymin_item_1>
556
            <ymax_item_1>
557
                <host>Template App Web Apache</host>
558
                <key>apache.status[AllWorkers]</key>
559
            </ymax_item_1>
560
            <graph_items>
561
                <graph_item>
562
                    <sortorder>0</sortorder>
563
                    <drawtype>0</drawtype>
564
                    <color>009900</color>
565
                    <yaxisside>0</yaxisside>
566
                    <calc_fnc>2</calc_fnc>
567
                    <type>0</type>
568
                    <item>
569
                        <host>Template App Web Apache</host>
570
                        <key>apache.status[BusyWorkers]</key>
571
                    </item>
572
                </graph_item>
573
            </graph_items>
574
        </graph>
575
        <graph>
576
            <name>Apache CPU Load</name>
577
            <width>900</width>
578
            <height>200</height>
579
            <yaxismin>0.0000</yaxismin>
580
            <yaxismax>100.0000</yaxismax>
581
            <show_work_period>0</show_work_period>
582
            <show_triggers>1</show_triggers>
583
            <type>0</type>
584
            <show_legend>1</show_legend>
585
            <show_3d>0</show_3d>
586
            <percent_left>0.0000</percent_left>
587
            <percent_right>0.0000</percent_right>
588
            <ymin_type_1>1</ymin_type_1>
589
            <ymax_type_1>0</ymax_type_1>
590
            <ymin_item_1>0</ymin_item_1>
591
            <ymax_item_1>0</ymax_item_1>
592
            <graph_items>
593
                <graph_item>
594
                    <sortorder>0</sortorder>
595
                    <drawtype>0</drawtype>
596
                    <color>009900</color>
597
                    <yaxisside>0</yaxisside>
598
                    <calc_fnc>2</calc_fnc>
599
                    <type>0</type>
600
                    <item>
601
                        <host>Template App Web Apache</host>
602
                        <key>apache.status[CPULoad]</key>
603
                    </item>
604
                </graph_item>
605
            </graph_items>
606
        </graph>
607
        <graph>
608
            <name>Apache Hits</name>
609
            <width>900</width>
610
            <height>200</height>
611
            <yaxismin>0.0000</yaxismin>
612
            <yaxismax>100.0000</yaxismax>
613
            <show_work_period>0</show_work_period>
614
            <show_triggers>1</show_triggers>
615
            <type>0</type>
616
            <show_legend>1</show_legend>
617
            <show_3d>0</show_3d>
618
            <percent_left>0.0000</percent_left>
619
            <percent_right>0.0000</percent_right>
620
            <ymin_type_1>1</ymin_type_1>
621
            <ymax_type_1>0</ymax_type_1>
622
            <ymin_item_1>0</ymin_item_1>
623
            <ymax_item_1>0</ymax_item_1>
624
            <graph_items>
625
                <graph_item>
626
                    <sortorder>0</sortorder>
627
                    <drawtype>0</drawtype>
628
                    <color>009900</color>
629
                    <yaxisside>0</yaxisside>
630
                    <calc_fnc>2</calc_fnc>
631
                    <type>0</type>
632
                    <item>
633
                        <host>Template App Web Apache</host>
634
                        <key>apache.status[Total Accesses]</key>
635
                    </item>
636
                </graph_item>
637
            </graph_items>
638
        </graph>
639
    </graphs>
640
</zabbix_export>
(13-13/26)