Ad Widget

Collapse

Zabbix Write Elasticsearch Cluster

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joelurtubiaugarte
    Junior Member
    • Jul 2018
    • 7

    #1

    Zabbix Write Elasticsearch Cluster

    Hello...
    I have a problem with write a cluster into elasticsearch from my zabbix server.......
    I've tested those points:

    1- elasticsearch cluster don't support VIP (virtual IP)
    2- i use a DNS to put two hosts and use as domein into my zabbix server configuration,

    this is my DNS configuration

    elastic1:192.168.10.12
    elastic2:192.168.10.101

    #############################
    $TTL 604800
    @ IN SOA ns1.elastic.lan. admin.elastic.lan. (
    19990811 ; Serial number
    3600 ; 1 hour refresh
    30 ; 30 seconds retry
    172800 ; 2 days expiry
    43200 ) ; 12 hours minimum
    ;
    @ IN NS elastic.lan.
    @ 5 IN A 192.168.10.12
    @ 10 IN A 192.168.10.101

    ####################################



    #Server Zabbix config
    HistoryStorageURL=http://elastic.lan:9200

    #Web Zabbix config
    $HISTORY['url'] = 'http://elastic.lan:9200';


    this configuration works, is switching between two ips, but zabbix server always try to write in both server , it changes alone in a several times.


    this is my question...do you know some workaround can I use for fix it??

    and in zabbix version 4.0, will be posible to put in my zabbix server configuration something like this:

    HistoryStorageURL=http://host1:9200, http://host2:9200]

    please help me and thanks for your help!!!

    ,
    Last edited by joelurtubiaugarte; 02-10-2018, 00:09. Reason: elasticsearch
Working...