mirror of
https://github.com/aljazceru/zabbix.git
synced 2025-12-17 19:04:19 +01:00
elasticsearch/README.md
This commit is contained in:
@@ -4,10 +4,21 @@
|
|||||||
|
|
||||||
# yum install -y python34
|
# yum install -y python34
|
||||||
|
|
||||||
|
# wget https://raw.githubusercontent.com/oscm/zabbix/master/elasticsearch/userparameter_elasticsearch.conf -P /etc/zabbix/zabbix_agentd.d/
|
||||||
|
|
||||||
# chmod +x /srv/zabbix/libexec/elasticsearch
|
# chmod +x /srv/zabbix/libexec/elasticsearch
|
||||||
|
|
||||||
# /srv/zabbix/libexec/elasticsearch indices _all.total.flush.total_time_in_millis
|
# /srv/zabbix/libexec/elasticsearch indices _all.total.flush.total_time_in_millis
|
||||||
25557
|
25557
|
||||||
|
|
||||||
|
# systemctl restart zabbix-agent
|
||||||
|
|
||||||
|
## Test Agent
|
||||||
|
|
||||||
|
# zabbix_get -s 10.47.33.124 -k 'elasticsearch.status[indices,_all.total.flush.total_time_in_millis]'
|
||||||
|
25557
|
||||||
|
|
||||||
|
## Import template
|
||||||
|
|
||||||
|
https://github.com/oscm/zabbix/blob/master/elasticsearch/zbx_export_templates.xml
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user