The template is only tested on the following env:
- CentOS 7
- Zabbix 3.2.6
The script rely on jq
command to parse JSON result.
# jq package is available in epel repo
yum install epel-release
yum install jq
- put
zabbix_templates/es_discovery.conf
in/etc/zabbix/zabbix_agent.d/
directory in your Zabbix agent server - save files in
elasticsearch_mon
to directory specified inzabbix_templates/es_discovery.conf
- import template
zabbix_templates/zbx_elasticsearch_templates.xml
to Zabbix server using the web console - assign template to hosts