zabbix-elasticsearch

Форк
0
40 строк · 1.5 Кб
1
Zabbix-ElasticSearch
2
--------------------
3

4
This repository have all neeeded tools to properly do a good monitoring of a elasticsearch cluster.
5

6
How it Works
7
------------
8

9

10
Install
11
-------
12

13
To install the required tools to start the monitoring of the elastic search, you should do the following:
14

15
1. Download the latest release of the scripts and descompact it to the location "/usr/local/share/zabbix/externalscripts";
16
2. Configure your zabbix-agentd to read additional configuration from the folder "/usr/local/etc/zabbix_agentd.conf.d/";
17
3. Download the latest userparameter configuration to a folder that your zabbix_agentd will read (we going to use /usr/local/etc/zabbix_agentd.conf.d/ in this example):
18

19
```
20
wget https://raw.githubusercontent.com/gcavalcante8808/zabbix-elasticsearch/master/userparams/es.userparams.conf -C /usr/local/etc/zabbix_agentd.conf.d/
21
```
22

23
4. Restart the agentd to apply the configurations:
24
5. Test the new userparameters support:
25

26
```
27
zabbix_agentd -p
28
```
29

30
At the end of the list, the keys and some errors (after all we didnt provide the required params) will be showed.
31

32
6. Import the template into your Zabbix Server;
33
7. Create a new Host with the following configurations:
34

35
 * HostName: HostName of the ZabbixAgent that have the userparams installed;
36
 * Agent Interface: Ip or Hostname of the ZabbixAgent that have the userparams installed;
37
 * Link the template "Template App Elastic Search" to the Host;
38
 * Define the user macro "${ES_URL}" value to your elasticsearch address in a valid url format. Eg http://myes:9200/.
39

40
Enjoy!
41

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

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

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

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