262 lines
10 KiB
XML
Executable File
262 lines
10 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>5.0</version>
|
|
<date>2020-12-30T12:08:33Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Elastic cluster</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template Elasticsearch</template>
|
|
<name>Template Elasticsearch</name>
|
|
<groups>
|
|
<group>
|
|
<name>Elastic cluster</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
<application>
|
|
<name>Elasticsearch https access</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>Кластер Elasticsearch</name>
|
|
<key>es.cluster</key>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
</item>
|
|
<item>
|
|
<name>Количество основных шард</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.active_primary_shards</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.active_primary_shards</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество активных шард</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.active_shards</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.active_shards</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество активных шард в процентах</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.active_shards_percent_as_number</key>
|
|
<delay>0</delay>
|
|
<value_type>FLOAT</value_type>
|
|
<units>%</units>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.active_shards_percent_as_number</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество отложенных неназначенных шард</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.delayed_unassigned_shards</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.delayed_unassigned_shards</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество data node</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.number_of_data_nodes</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.number_of_data_nodes</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество узлов</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.number_of_nodes</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.number_of_nodes</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество отложенных задач</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.number_of_pending_tasks</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.number_of_pending_tasks</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество перемещаемых шард</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.relocating_shards</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.relocating_shards</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Статус кластера</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.status</key>
|
|
<delay>0</delay>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.status</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Количество неназначенных шард</name>
|
|
<type>DEPENDENT</type>
|
|
<key>es.cluster.unassigned_shards</key>
|
|
<delay>0</delay>
|
|
<applications>
|
|
<application>
|
|
<name>Elasticsearch cluster status</name>
|
|
</application>
|
|
</applications>
|
|
<preprocessing>
|
|
<step>
|
|
<type>JSONPATH</type>
|
|
<params>$.unassigned_shards</params>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>es.cluster</key>
|
|
</master_item>
|
|
</item>
|
|
</items>
|
|
<httptests>
|
|
<httptest>
|
|
<name>Elasticsearch https access</name>
|
|
<application>
|
|
<name>Elasticsearch https access</name>
|
|
</application>
|
|
<steps>
|
|
<step>
|
|
<name>https://{HOST.HOST}:9200</name>
|
|
<url>https://{HOST.HOST}:9200</url>
|
|
<follow_redirects>NO</follow_redirects>
|
|
</step>
|
|
</steps>
|
|
</httptest>
|
|
</httptests>
|
|
</template>
|
|
</templates>
|
|
</zabbix_export>
|