zabbix-elasticsearch

Форк
0
/
es_template.xml 
444 строки · 20.5 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>3.4</version>
4
    <date>2018-01-17T09:39:53Z</date>
5
    <groups>
6
        <group>
7
            <name>Templates</name>
8
        </group>
9
    </groups>
10
    <templates>
11
        <template>
12
            <template>elastic_search</template>
13
            <name>Template App Elastic Search</name>
14
            <description>Elastic Search Template to monitor ElasticSearch Cluster, Nodes and Indices.</description>
15
            <groups>
16
                <group>
17
                    <name>Templates</name>
18
                </group>
19
            </groups>
20
            <applications>
21
                <application>
22
                    <name>ElasticSearch Cluster</name>
23
                </application>
24
                <application>
25
                    <name>ElasticSearch Index</name>
26
                </application>
27
            </applications>
28
            <items>
29
                <item>
30
                    <name>ES Cluster Active Shards Percentage</name>
31
                    <type>7</type>
32
                    <snmp_community/>
33
                    <snmp_oid/>
34
                    <key>es.cluster.health[&quot;{$ES_URL}&quot;,active_shards_percent_as_number]</key>
35
                    <delay>300s</delay>
36
                    <history>30d</history>
37
                    <trends>365d</trends>
38
                    <status>0</status>
39
                    <value_type>0</value_type>
40
                    <allowed_hosts/>
41
                    <units>%</units>
42
                    <snmpv3_contextname/>
43
                    <snmpv3_securityname/>
44
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
45
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
46
                    <snmpv3_authpassphrase/>
47
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
48
                    <snmpv3_privpassphrase/>
49
                    <params/>
50
                    <ipmi_sensor/>
51
                    <authtype>0</authtype>
52
                    <username/>
53
                    <password/>
54
                    <publickey/>
55
                    <privatekey/>
56
                    <port/>
57
                    <description>Status information from GET _cluster/health</description>
58
                    <inventory_link>0</inventory_link>
59
                    <applications>
60
                        <application>
61
                            <name>ElasticSearch Cluster</name>
62
                        </application>
63
                    </applications>
64
                    <valuemap/>
65
                    <logtimefmt/>
66
                    <preprocessing/>
67
                    <jmx_endpoint/>
68
                    <master_item/>
69
                </item>
70
                <item>
71
                    <name>ES Cluster Status</name>
72
                    <type>7</type>
73
                    <snmp_community/>
74
                    <snmp_oid/>
75
                    <key>es.cluster.health[&quot;{$ES_URL}&quot;,status]</key>
76
                    <delay>300s</delay>
77
                    <history>7d</history>
78
                    <trends>0</trends>
79
                    <status>0</status>
80
                    <value_type>1</value_type>
81
                    <allowed_hosts/>
82
                    <units/>
83
                    <snmpv3_contextname/>
84
                    <snmpv3_securityname/>
85
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
86
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
87
                    <snmpv3_authpassphrase/>
88
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
89
                    <snmpv3_privpassphrase/>
90
                    <params/>
91
                    <ipmi_sensor/>
92
                    <authtype>0</authtype>
93
                    <username/>
94
                    <password/>
95
                    <publickey/>
96
                    <privatekey/>
97
                    <port/>
98
                    <description>Status information from GET _cluster/health</description>
99
                    <inventory_link>0</inventory_link>
100
                    <applications>
101
                        <application>
102
                            <name>ElasticSearch Cluster</name>
103
                        </application>
104
                    </applications>
105
                    <valuemap/>
106
                    <logtimefmt/>
107
                    <preprocessing/>
108
                    <jmx_endpoint/>
109
                    <master_item/>
110
                </item>
111
            </items>
112
            <discovery_rules>
113
                <discovery_rule>
114
                    <name>Index Discovery</name>
115
                    <type>7</type>
116
                    <snmp_community/>
117
                    <snmp_oid/>
118
                    <key>es.index.discovery[&quot;{$ES_URL}&quot;]</key>
119
                    <delay>600</delay>
120
                    <status>0</status>
121
                    <allowed_hosts/>
122
                    <snmpv3_contextname/>
123
                    <snmpv3_securityname/>
124
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
125
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
126
                    <snmpv3_authpassphrase/>
127
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
128
                    <snmpv3_privpassphrase/>
129
                    <params/>
130
                    <ipmi_sensor/>
131
                    <authtype>0</authtype>
132
                    <username/>
133
                    <password/>
134
                    <publickey/>
135
                    <privatekey/>
136
                    <port/>
137
                    <filter>
138
                        <evaltype>0</evaltype>
139
                        <formula/>
140
                        <conditions/>
141
                    </filter>
142
                    <lifetime>7d</lifetime>
143
                    <description>Discover all Indices from a ElasticSearch every 10 Minutes.</description>
144
                    <item_prototypes>
145
                        <item_prototype>
146
                            <name>Index {#ES_INDEX} Health</name>
147
                            <type>7</type>
148
                            <snmp_community/>
149
                            <snmp_oid/>
150
                            <key>es.index.health[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,health]</key>
151
                            <delay>300s</delay>
152
                            <history>7d</history>
153
                            <trends>0</trends>
154
                            <status>0</status>
155
                            <value_type>1</value_type>
156
                            <allowed_hosts/>
157
                            <units/>
158
                            <snmpv3_contextname/>
159
                            <snmpv3_securityname/>
160
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
161
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
162
                            <snmpv3_authpassphrase/>
163
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
164
                            <snmpv3_privpassphrase/>
165
                            <params/>
166
                            <ipmi_sensor/>
167
                            <authtype>0</authtype>
168
                            <username/>
169
                            <password/>
170
                            <publickey/>
171
                            <privatekey/>
172
                            <port/>
173
                            <description>Get ElasticSearch Index Health.</description>
174
                            <inventory_link>0</inventory_link>
175
                            <applications>
176
                                <application>
177
                                    <name>ElasticSearch Index</name>
178
                                </application>
179
                            </applications>
180
                            <valuemap/>
181
                            <logtimefmt/>
182
                            <preprocessing/>
183
                            <jmx_endpoint/>
184
                            <application_prototypes/>
185
                            <master_item_prototype/>
186
                        </item_prototype>
187
                        <item_prototype>
188
                            <name>Index {#ES_INDEX} Status</name>
189
                            <type>7</type>
190
                            <snmp_community/>
191
                            <snmp_oid/>
192
                            <key>es.index.health[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,status]</key>
193
                            <delay>300s</delay>
194
                            <history>7d</history>
195
                            <trends>0</trends>
196
                            <status>0</status>
197
                            <value_type>1</value_type>
198
                            <allowed_hosts/>
199
                            <units/>
200
                            <snmpv3_contextname/>
201
                            <snmpv3_securityname/>
202
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
203
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
204
                            <snmpv3_authpassphrase/>
205
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
206
                            <snmpv3_privpassphrase/>
207
                            <params/>
208
                            <ipmi_sensor/>
209
                            <authtype>0</authtype>
210
                            <username/>
211
                            <password/>
212
                            <publickey/>
213
                            <privatekey/>
214
                            <port/>
215
                            <description>Get ElasticSearch Index Health.</description>
216
                            <inventory_link>0</inventory_link>
217
                            <applications>
218
                                <application>
219
                                    <name>ElasticSearch Index</name>
220
                                </application>
221
                            </applications>
222
                            <valuemap/>
223
                            <logtimefmt/>
224
                            <preprocessing/>
225
                            <jmx_endpoint/>
226
                            <application_prototypes/>
227
                            <master_item_prototype/>
228
                        </item_prototype>
229
                        <item_prototype>
230
                            <name>Index {#ES_INDEX} Document Count</name>
231
                            <type>7</type>
232
                            <snmp_community/>
233
                            <snmp_oid/>
234
                            <key>es.index.inspect[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,_all.primaries.docs.count]</key>
235
                            <delay>300s</delay>
236
                            <history>7d</history>
237
                            <trends>365d</trends>
238
                            <status>0</status>
239
                            <value_type>3</value_type>
240
                            <allowed_hosts/>
241
                            <units/>
242
                            <snmpv3_contextname/>
243
                            <snmpv3_securityname/>
244
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
245
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
246
                            <snmpv3_authpassphrase/>
247
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
248
                            <snmpv3_privpassphrase/>
249
                            <params/>
250
                            <ipmi_sensor/>
251
                            <authtype>0</authtype>
252
                            <username/>
253
                            <password/>
254
                            <publickey/>
255
                            <privatekey/>
256
                            <port/>
257
                            <description>Get ElasticSearch Index Document count.</description>
258
                            <inventory_link>0</inventory_link>
259
                            <applications>
260
                                <application>
261
                                    <name>ElasticSearch Index</name>
262
                                </application>
263
                            </applications>
264
                            <valuemap/>
265
                            <logtimefmt/>
266
                            <preprocessing/>
267
                            <jmx_endpoint/>
268
                            <application_prototypes/>
269
                            <master_item_prototype/>
270
                        </item_prototype>
271
                        <item_prototype>
272
                            <name>Index {#ES_INDEX} Deleted Documents Count</name>
273
                            <type>7</type>
274
                            <snmp_community/>
275
                            <snmp_oid/>
276
                            <key>es.index.inspect[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,_all.primaries.docs.deleted]</key>
277
                            <delay>300s</delay>
278
                            <history>7d</history>
279
                            <trends>365d</trends>
280
                            <status>0</status>
281
                            <value_type>3</value_type>
282
                            <allowed_hosts/>
283
                            <units/>
284
                            <snmpv3_contextname/>
285
                            <snmpv3_securityname/>
286
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
287
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
288
                            <snmpv3_authpassphrase/>
289
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
290
                            <snmpv3_privpassphrase/>
291
                            <params/>
292
                            <ipmi_sensor/>
293
                            <authtype>0</authtype>
294
                            <username/>
295
                            <password/>
296
                            <publickey/>
297
                            <privatekey/>
298
                            <port/>
299
                            <description>Get ElasticSearch Index Document count.</description>
300
                            <inventory_link>0</inventory_link>
301
                            <applications>
302
                                <application>
303
                                    <name>ElasticSearch Index</name>
304
                                </application>
305
                            </applications>
306
                            <valuemap/>
307
                            <logtimefmt/>
308
                            <preprocessing/>
309
                            <jmx_endpoint/>
310
                            <application_prototypes/>
311
                            <master_item_prototype/>
312
                        </item_prototype>
313
                        <item_prototype>
314
                            <name>Index {#ES_INDEX} Count Primary Shard Space Used</name>
315
                            <type>7</type>
316
                            <snmp_community/>
317
                            <snmp_oid/>
318
                            <key>es.index.inspect[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,_all.primaries.store.size_in_bytes]</key>
319
                            <delay>300s</delay>
320
                            <history>7d</history>
321
                            <trends>365d</trends>
322
                            <status>0</status>
323
                            <value_type>3</value_type>
324
                            <allowed_hosts/>
325
                            <units>b</units>
326
                            <snmpv3_contextname/>
327
                            <snmpv3_securityname/>
328
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
329
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
330
                            <snmpv3_authpassphrase/>
331
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
332
                            <snmpv3_privpassphrase/>
333
                            <params/>
334
                            <ipmi_sensor/>
335
                            <authtype>0</authtype>
336
                            <username/>
337
                            <password/>
338
                            <publickey/>
339
                            <privatekey/>
340
                            <port/>
341
                            <description>Get ElasticSearch Index Document count.</description>
342
                            <inventory_link>0</inventory_link>
343
                            <applications>
344
                                <application>
345
                                    <name>ElasticSearch Index</name>
346
                                </application>
347
                            </applications>
348
                            <valuemap/>
349
                            <logtimefmt/>
350
                            <preprocessing/>
351
                            <jmx_endpoint/>
352
                            <application_prototypes/>
353
                            <master_item_prototype/>
354
                        </item_prototype>
355
                    </item_prototypes>
356
                    <trigger_prototypes>
357
                        <trigger_prototype>
358
                            <expression>{elastic_search:es.index.health[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,health].str(red,#2)}=1</expression>
359
                            <recovery_mode>0</recovery_mode>
360
                            <recovery_expression/>
361
                            <name>{#ES_INDEX} Status is RED</name>
362
                            <correlation_mode>0</correlation_mode>
363
                            <correlation_tag/>
364
                            <url/>
365
                            <status>0</status>
366
                            <priority>4</priority>
367
                            <description/>
368
                            <type>0</type>
369
                            <manual_close>0</manual_close>
370
                            <dependencies/>
371
                            <tags/>
372
                        </trigger_prototype>
373
                        <trigger_prototype>
374
                            <expression>{elastic_search:es.index.health[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,health].str(yellow,#2)}=1</expression>
375
                            <recovery_mode>0</recovery_mode>
376
                            <recovery_expression/>
377
                            <name>{#ES_INDEX} Status is YELLOW</name>
378
                            <correlation_mode>0</correlation_mode>
379
                            <correlation_tag/>
380
                            <url/>
381
                            <status>0</status>
382
                            <priority>3</priority>
383
                            <description/>
384
                            <type>0</type>
385
                            <manual_close>0</manual_close>
386
                            <dependencies>
387
                                <dependency>
388
                                    <name>{#ES_INDEX} Status is RED</name>
389
                                    <expression>{elastic_search:es.index.health[&quot;{$ES_URL}&quot;,&quot;{#ES_INDEX}&quot;,health].str(red,#2)}=1</expression>
390
                                    <recovery_expression/>
391
                                </dependency>
392
                            </dependencies>
393
                            <tags/>
394
                        </trigger_prototype>
395
                    </trigger_prototypes>
396
                    <graph_prototypes/>
397
                    <host_prototypes/>
398
                    <jmx_endpoint/>
399
                </discovery_rule>
400
                <discovery_rule>
401
                    <name>Nodes Discovery</name>
402
                    <type>7</type>
403
                    <snmp_community/>
404
                    <snmp_oid/>
405
                    <key>es.node.discovery</key>
406
                    <delay>300</delay>
407
                    <status>1</status>
408
                    <allowed_hosts/>
409
                    <snmpv3_contextname/>
410
                    <snmpv3_securityname/>
411
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
412
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
413
                    <snmpv3_authpassphrase/>
414
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
415
                    <snmpv3_privpassphrase/>
416
                    <params/>
417
                    <ipmi_sensor/>
418
                    <authtype>0</authtype>
419
                    <username/>
420
                    <password/>
421
                    <publickey/>
422
                    <privatekey/>
423
                    <port/>
424
                    <filter>
425
                        <evaltype>0</evaltype>
426
                        <formula/>
427
                        <conditions/>
428
                    </filter>
429
                    <lifetime>30d</lifetime>
430
                    <description>Discover all nodes from a ElasticSearch every 10 Minutes.</description>
431
                    <item_prototypes/>
432
                    <trigger_prototypes/>
433
                    <graph_prototypes/>
434
                    <host_prototypes/>
435
                    <jmx_endpoint/>
436
                </discovery_rule>
437
            </discovery_rules>
438
            <httptests/>
439
            <macros/>
440
            <templates/>
441
            <screens/>
442
        </template>
443
    </templates>
444
</zabbix_export>
445

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.