Giter VIP home page Giter VIP logo

Comments (5)

f0 avatar f0 commented on June 12, 2024 1

@dominikschulz ok i found it.... i need to set network.host to 0.0.0.0 in elasticsearch config
sorry for the noise

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

This doesn't make sense to me. If you can curl it, the exporter should be able to query it as well.

from elasticsearch_exporter.

f0 avatar f0 commented on June 12, 2024

@dominikschulz exactly, but it happens.....

from elasticsearch_exporter.

f0 avatar f0 commented on June 12, 2024

@dominikschulz ok thre is a difference between running curl via kubectl exec and via kubectl exec /bin/bash and the use curl..... the second one also does not work.

So the behaviour is the same - but why

from elasticsearch_exporter.

gotmarko avatar gotmarko commented on June 12, 2024

I'm having a similar problem with getting the cluster node stats, I get this error when running the docker container elasticsearch_exporter

$ docker run --rm --net=host -p 9108:9108 justwatch/elasticsearch_exporter:1.0.0 '-es.uri=http://172.23.64.131:9200' '-es.all=true'
level=info msg="starting elasticsearch_exporter" addr=:9108
level=warn msg="failed to fetch and decode node stats" err="failed to get node stats from http://172.23.64.131:9200/_nodes/stats: Get http://172.23.64.131:9200/_nodes/stats: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"

I've verified that the network.host setting of the elasticsearch server at 172.23.64.131 is set to 0.0.0.0 as above. I'm running my elasticsearch_exporter on a separate network from the elasticsearch servers, but since I can curl there and get /_nodes/stats and all the _cluster stats seem to be working, routing is good.

Anyone have any other suggestions on what could be happening, or how I should proceed to debug further, I'd appreciate it.

from elasticsearch_exporter.

Related Issues (20)

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.