Comments (5)
@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.
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.
@dominikschulz exactly, but it happens.....
from elasticsearch_exporter.
@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.
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)
- Clean Up Snapshot Metrics and Labels
- Refactor ClusterInfo package
- Incorrect Metric Type for elasticsearch_data_stream_store_size_bytes
- number_of_shards
- elasticsearch_exporter error: connection refused HOT 1
- Usage of environment variables
- can't query elasticsearch_cluster_health_number_of_nodes HOT 1
- failed to fetch and decode X err="HTTP Request failed with code 401" HOT 1
- Request to release security fix for version v1.6.0 HOT 3
- Configuring Liveness/Readiness probes (httpGet -> scheme) is not working as expected through values file
- When will support elasticsearch 8 HOT 3
- Elasticsearch Exporter not reporting master node as down HOT 2
- The exporter is many times OOMKilled HOT 4
- Raise version for Debian HOT 1
- Is there a relationship between index names and instances? HOT 1
- elasticsearchv8 cluster_settings unmarshal error HOT 4
- In the latest version 1.7.0, is the code Envar("ES_URI") missing for retrieving the value of es.uri? Currently, when transmitted via ES_URI, it is still bound to the default address. HOT 2
- Metric `elasticsearch_cluster_health_up` removed in v1.7.0
- Elastisearch Export 1.1.0 not collecting many metrics on elasticsearch 7.17
- elasticsearch exporter used too much memory ,is it normal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch_exporter.