Giter VIP home page Giter VIP logo

zabbix-elasticsearch's People

Contributors

dkanbier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zabbix-elasticsearch's Issues

Basic user auth with Search Guard

Does anyone know a way to authenticate user created with Search Guard (or X-Pack, whatever)?

I have 3-node elasticsearch cluster. I installed zabbix-elasticsearch and try to connect to ES cluster. But the problem is that zabbix-elasticsearch does not have permission to get cluster stats or health. The problem is here:

# Try to establish a connection to elasticsearch
try:
  conn = Elasticsearch(['http://localhost:9200'])
except Exception, e:
  zbx_fail()

I tried something like that:

# Try to establish a connection to elasticsearch
try:
  conn = Elasticsearch(['http://admin:admin@localhost:9200'])
except Exception, e:
  zbx_fail()

But it does not work. Is there any way to walk around this issue?

Template won't import on 3.2

When trying to import the template into Zabbix 3.2 I get:

Cannot find value map "ES Cluster State" used for item "ElasticSearch Cluster Status" on "Elastic search Cluster".

Error when use node name

Hello,

I'm trying use module with node name (es.domain.local) of my elasticsearch, but i have this error:

zbx_es.py nodes.stats nodes.es.domain.local.indices.docs.count
Traceback (most recent call last):
File "/tmp//zabbix-elasticsearch/zbx_es.py", line 73, in
returnval = config.get(key_string)
File "/usr/lib/python2.6/site-packages/kaptan/init.py", line 95, in get
raise KeyError(key)
KeyError: 'nodes.es.domain.local.indices.docs.count'

If i use ID all works:
zbx_es.py nodes.stats nodes.l10Q__f6Tf65DZWlIbYvag.indices.docs.count
56841

Do you can help me please?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.