Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic user auth #19

Open
Poohowy opened this issue May 29, 2017 · 0 comments
Open

Basic user auth #19

Poohowy opened this issue May 29, 2017 · 0 comments

Comments

@Poohowy
Copy link

Poohowy commented May 29, 2017

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

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

# Try to establish a connection to elasticsearch
try:
    conn = Elasticsearch('localhost:9200', sniff_on_start=False)
except Exception, e:
zbx_fail()

I tried something like that:

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant