zarplata / zabbix-agent-extension-elasticsearch

Zabbix agent extension for monitoring Elasticsearch
35 stars 29 forks source link

Some data zabbix server can't receive #8

Open 569258yin opened 6 years ago

569258yin commented 6 years ago

image image image image I can receive the status OK, but I can't receive the Int value.

mitring commented 5 years ago

I have faced the same issue and solved it. Check for:

  1. Host name in Zabbix server corresponds to hostname of node that actually runs ES (see this comment for detailed explanation).
  2. Zabbix server uses default port (10051) for incoming connections. If you use non-default port, you must:
    • define macro for this port (just like the {$ZABBIX_SERVER_IP}, for example {$ZABBIX_SERVER_PORT});
    • add this macro to Elasticsearch get indices stats and Elasticsearch get stats template items;
    • use --port parameter to pass this macro value to zabbix-agent-extension-elasticsearch executable in zabbix-agent-extension-elasticsearch.conf file.