elasticsearch - Grafana中如何用Prometheus数据源监控elasticsearch

标签 elasticsearch grafana prometheus

我是 Prometheus 和 Grafana 的初学者。

我在 Grafana 中创建了新的仪表板,以使用 Prometheus 和 Grafana 监控服务器的基本指标。 以同样的方式需要监控服务器中的 Elasticsearch 。

我已按照以下步骤操作:

我不确定下面的方法是否正确。

我已经为 node_exporter 进程尝试了以下格式,结果成功了。那是你为 elasticsearch 导出器尝试了以下内容

在 Elasticsearch 服务器中(将被监控)

wget https://github.com/justwatchcom/elasticsearch_exporter/releases/download/v1.0.2rc1/elasticsearch_exporter-1.0.2rc1.darwin-386.tar.gz
tar -xf elasticsearch_exporter-1.0.2rc1.darwin-386.tar.gz 
cd elasticsearch_exporter-1.0.2rc1.darwin-386
 ./elasticsearch_exporter 

在执行最后一步时出现以下错误。

-bash: ./elasticsearch_exporter: cannot execute binary file

完成后,如何在 Grafana 中获取 elasticsearch 的仪表板

最佳答案

-bash: ./elasticsearch_exporter: cannot execute binary file

通常,此错误的原因是在错误的架构上运行可执行文件。

仔细检查您下载的 Elasticsearch 二进制文件。您需要为您的机器下载适当的二进制文件。

关于elasticsearch - Grafana中如何用Prometheus数据源监控elasticsearch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46659778/

相关文章:

elasticsearch - 使用streaming_bulk()时出现409错误-确定该文档仅包含一次。

ssl - 如何在 grafana 中禁用 TLS 证书验证以使用 OAuth 进行用户登录

database - InfluxDB:如何回填以前未测量的测量标签(如果可能的话)?

python - 如何使用 Prometheus 监控 Celery 任务完成情况

continuous-integration - 如何自动测试 Prometheus 警报?

elasticsearch - 搜索文档在ElasticSearch的列表中至少有一个单词

elasticsearch - Elastic Search和Apache Ignite之间的发布订阅

elasticsearch - 在本地网络上访问 kibana

elasticsearch - 我可以只使用elasticsearch来使用Grafana吗?

charts - 如何在稳定/普罗米修斯图表 values.yaml 中设置普罗米修斯规则?