
prometheuscommunity/ipmi-exporter是Prometheus社区维护的IPMI(智能平台管理接口)指标导出工具,用于将IPMI设备的硬件状态指标(如温度、电压、风扇转速等)转换为Prometheus可抓取的格式。该exporter支持两种工作模式:通过/metrics端点收集运行主机的本地IPMI指标,以及通过/ipmi端点(遵循多目标exporter模式)监控远程IPMI设备(通过RMCP协议)。默认依赖FreeIPMI工具集实现IPMI功能,同时提供实验性的Go原生IPMI库(go-ipmi)支持,以减少外部依赖。
/metrics端点(本地主机IPMI指标)和/ipmi端点(远程多目标RMCP监控),满足不同监控场景需求。/ipmi端点遵循Prometheus多目标exporter模式,支持集中监控多台远程IPMI设备。/metrics端点收集本机IPMI硬件状态指标。/ipmi端点(配合Prometheus多目标配置)监控多台远程服务器的IPMI设备(需支持RMCP协议)。预构建容器镜像可从以下仓库获取:
prometheuscommunity/ipmi-exporterquay.io/prometheuscommunity/ipmi-exporter可使用社区维护的Helm Chart:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm install prometheus-ipmi-exporter prometheus-community/prometheus-ipmi-exporter
| 参数 | 描述 | 默认值 |
|---|---|---|
web.listen-address | 监听地址和端口 | ":9290" |
config.file | 配置文件路径(可选) | 无 |
freeipmi.path | FreeIPMI工具集路径(依赖环境变量PATH) | 无 |
--web.config.file | TLS和基本认证配置文件路径(可选) | 无 |
基本本地监控(默认配置)
bashdocker run -d -p 9290:9290 --name ipmi-exporter prometheuscommunity/ipmi-exporter
挂载自定义配置文件
bashdocker run -d -p 9290:9290 \ -v /host/path/to/config.yml:/etc/ipmi_exporter/config.yml \ --name ipmi-exporter \ prometheuscommunity/ipmi-exporter \ --config.file=/etc/ipmi_exporter/config.yml
启用TLS和基本认证
bashdocker run -d -p 9290:9290 \ -v /host/path/to/web-config.yml:/etc/ipmi_exporter/web-config.yml \ --name ipmi-exporter \ prometheuscommunity/ipmi-exporter \ --web.config.file=/etc/ipmi_exporter/web-config.yml
exporter配置文件(通过--config.file指定)支持定义设备认证信息、监控模块等,详细格式见https://github.com/prometheus-community/ipmi_exporter/blob/main/docs/configuration.md%E3%80%82
通过--web.config.file参数指定Web配置文件,支持启用TLS和基本认证。配置文件格式遵循Prometheus exporter-toolkit规范,详细说明见https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md%E3%80%82
exporter提供的指标包括硬件健康状态(如温度、电压、风扇转速、电源状态等),详细指标说明见https://github.com/prometheus-community/ipmi_exporter/blob/main/docs/metrics.md%E3%80%82
提供Go原生IPMI库(go-ipmi)支持,可替代FreeIPMI工具集,减少外部依赖。使用方法见https://github.com/prometheus-community/ipmi_exporter/blob/main/docs/native.md%EF%BC%8C%E6%AC%A2%E8%BF%8E%E5%8F%8D%E9%A6%88%E4%BB%A5%E5%AE%8C%E5%96%84%E8%AF%A5%E5%8A%9F%E8%83%BD%E3%80%82






探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务