68 lines
2.9 KiB
XML
68 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>5.0</version>
|
|
<date>2021-04-05T12:40:38Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Elastic cluster</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template Elasticsearch Indices Monitoring</template>
|
|
<name>Template Elasticsearch Indices Monitoring</name>
|
|
<description>Template for monitoring the elasticsearch index.</description>
|
|
<groups>
|
|
<group>
|
|
<name>Elastic cluster</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>ES indices</name>
|
|
</application>
|
|
</applications>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>Index discovery</name>
|
|
<type>TRAP</type>
|
|
<key>indices</key>
|
|
<delay>0</delay>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>{#INDEX} records count</name>
|
|
<type>TRAP</type>
|
|
<key>indices.records_count[{#INDEX}]</key>
|
|
<delay>0</delay>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>ES index "{#INDEX}"</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>{last()}=0</expression>
|
|
<name>{HOSTNAME}. Отсутствуют записи в индексе {#INDEX}</name>
|
|
<priority>WARNING</priority>
|
|
<manual_close>YES</manual_close>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>{#INDEX} records count time range</name>
|
|
<type>TRAP</type>
|
|
<key>indices.records_count_time_range[{#INDEX}]</key>
|
|
<delay>0</delay>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>ES index "{#INDEX}"</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
</template>
|
|
</templates>
|
|
</zabbix_export>
|