简体   繁体   English

Prometheus 节点导出器未返回 Centos 6 上的指标

[英]Prometheus node-exporter not returning metrics on Centos 6

Have tried with multiple versions of node exporter on a few Centos 6 VMs and I get the same thing.在几个 Centos 6 VM 上尝试了多个版本的节点导出器,我得到了同样的结果。

Node exporter is running and when I curl localhost:9100 I get this:节点导出器正在运行,当我curl localhost:9100我得到这个:

Node Exporter 节点导出器

Node Exporter节点导出器

Metrics指标

When I curl localhost:9100/metrics it just hangs.当我curl localhost:9100/metrics它只是挂起。

Any idea why it can't get the metrics?知道为什么它无法获得指标吗?

After a bit of debugging, I discovered that it was hanging due to the filesystem collector.经过一番调试,我发现它由于文件系统收集器而挂起。 Starting node_exporter with --no-collector.filesystem flag fixed the issue.使用--no-collector.filesystem标志启动 node_exporter 解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kubernetes HPA使用Prometheus Node-Exporter的指标 - Kubernetes HPA with metrics from Prometheus Node-Exporter kubernetes 上的 prometheus 节点导出器 - prometheus node-exporter on kubernetes 如何使node-exporter和cadvisor仅对Prometheus容器可用? - how to make the node-exporter and cadvisor available to prometheus container only? 在 docker 群模式下使用节点导出器在 Grafana/Prometheus 中查询错误 - Error query in Grafana/Prometheus with node-exporter in docker swarm mode 未完成的节点导出器 pod 的 Prometheus 错误在哪里? - Where are Prometheus errors for unfulfilled node-exporter pods? 如何在 cadvisor 和 Prometheus Monitoring 的节点导出器中更改端口号 - How to Change Port Number in cadvisor and node-exporter of Prometheus Monitoring 了解 prometheus 的内存空闲查询(节点导出器) - Understanding a prometheus query for memory free (node-exporter) Kube-Prometheus-Stack 和保护外部节点导出器 - Kube-Prometheus-Stack and securing external node-exporter Prometheus 使用节点导出器清空查询结果 - Prometheus Empty query result using node-exporter 如何将 label 添加到 cadvisor 和 node-exporter 指标? - How can I add a label to the cadvisor and node-exporter metrics?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM