zabbix-elasticsearch
/
README.MD
40 строк · 1.5 Кб
1Zabbix-ElasticSearch
2--------------------
3
4This repository have all neeeded tools to properly do a good monitoring of a elasticsearch cluster.
5
6How it Works
7------------
8
9
10Install
11-------
12
13To install the required tools to start the monitoring of the elastic search, you should do the following:
14
151. Download the latest release of the scripts and descompact it to the location "/usr/local/share/zabbix/externalscripts";
162. Configure your zabbix-agentd to read additional configuration from the folder "/usr/local/etc/zabbix_agentd.conf.d/";
173. 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```
20wget https://raw.githubusercontent.com/gcavalcante8808/zabbix-elasticsearch/master/userparams/es.userparams.conf -C /usr/local/etc/zabbix_agentd.conf.d/
21```
22
234. Restart the agentd to apply the configurations:
245. Test the new userparameters support:
25
26```
27zabbix_agentd -p
28```
29
30At the end of the list, the keys and some errors (after all we didnt provide the required params) will be showed.
31
326. Import the template into your Zabbix Server;
337. 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
40Enjoy!
41