【问题标题】:Prometheus node exporter won't provide disk volume informationPrometheus 节点导出器不会提供磁盘卷信息
【发布时间】:2020-06-09 09:47:57
【问题描述】:

Prometheus 节点导出器展示

"node_filesystem_device_error" = 1

对于其他磁盘(目录),除了

/

喜欢的设备

/dev/vdb

挂载到目录

/dir

有没有一样的?

【问题讨论】:

    标签: prometheus prometheus-node-exporter


    【解决方案1】:

    我遇到了同样的问题。但在 docker 中运行的节点导出器的上下文中。

    并设法通过添加挂载点来将容器的挂载卷绑定为:

    volumes:
      - /:/rootfs:ro
      - /dir:/dir:ro
      - ...others...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-19
      • 1970-01-01
      • 2015-12-03
      • 2021-05-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多