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 #4

Closed
anton-kyrylenko opened this issue Jul 29, 2018 · 2 comments
Closed

Basic user auth #4

anton-kyrylenko opened this issue Jul 29, 2018 · 2 comments

Comments

@anton-kyrylenko
Copy link

anton-kyrylenko commented Jul 29, 2018

Does anyone know a way to authenticate user created with X-Pack ?

I have 3-node elasticsearch cluster. I installed elastizabbix and try to connect to ES cluster. But the problem is that zabbix-agent-extension-elasticsearch does not have permission to get cluster stats or health.
( Elasticsearch cluster returned 401 HTTP code, expected 200 HTTP code)

@tears-of-noobs
Copy link
Contributor

@anton-kyrylenko Hi, I have made changes concerning your issue. Try to build a new version of the extension, install it, import a template from the repository and define your credentials as macros {$ES_USER} and {$ES_PASSWORD} into the template.

@anton-kyrylenko
Copy link
Author

Thank you so much. With authorization, the metrics (trapper) are taken.
There was another problem.
All metrics are similar to elasticsearch.indices_stats.primaries.docs.count.forecast. (the form "calculated") returns the value Received value [-1.000000] is not suitable for value type [Numeric (unsigned)].
The grpavg ["ELK", "elasticsearch.cluster_health. * keys are in the status" No values ​​for key "elasticsearch.cluster_health.delayed_unassigned_shards" in group (s) "ELK".

All hosts are added to the "ELK" group http://take.ms/9Yw9J, I include the plug-in for all 3 nodes, I specify {$GROUPNAME} macro on one node, I tried to write {$GROUPNAME} macro on all three.
While this stage is not very clear for me. Thanks for your help

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

2 participants