[英]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
节点导出器
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.