node_exporter
13,921
Stars
2,753
Forks
170
Watchers
332
Open Issues
Apache-2.0
许可证
Go
语言
2013-04-18
创建时间
2026-11-10
最近更新
项目能做什么
用于收集机器硬件与操作系统指标的指标采集器(Exporter)。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Node exporter
[](https://github.com/prometheus/node_exporter/actions/workflows/ci.yml)


[][quay]
[][hub]
[][goreportcard]
Prometheus exporter for hardware and OS metrics exposed by \*NIX kernels, written
in Go with pluggable metric collectors.
The [Windows exporter](https://github.com/prometheus-community/windows_exporter) is recommended for Windows users.
To expose NVIDIA GPU metrics, [prometheus-dcgm
](https://github.com/NVIDIA/dcgm-exporter)
can be used.
## Installation and Usage
If you are new to Prometheus and `node_exporter` there is a [simple step-by-step guide](https://prometheus.io/docs/guides/node-exporter/).
The `node_exporter` listens on HTTP port 9100 by default. See the `--help` output for more options.
### Linux distribution packages
On Enterprise Linux (RHEL, CentOS Stream, Rocky Linux, AlmaLinux) and Fedora, `node_exporter` is packaged in [EPEL](https://docs.fedoraproject.org/en-US/epel/) as `golang-github-prometheus-node-exporter` (available for EPEL 7, 8 and 9):
### Ansible
For automated installs with [Ansible](https://www.ansible.com/), there is the [Prometheus Community role](https://github.com/prometheus-community/ansible).
### Docker
The `node_exporter` is designed to monitor the host system. Deploying in containers requires
extra care in order to avoid monitoring the container itself.
For situations where containerized deployment is needed, some extra flags must be used to allow
the `node_exporter` access to the host namespaces.
Be aware that any non-root mount points you want to monitor will need to be bind-mounted
into the container.
If you start a container for host monitoring, specify the `path.rootfs` argument.
This argument must match path in bind-mount of host root. The node\_exporter will use
`path.rootfs` as prefix to access host filesystem.
```bash
docker run -d \
--net="host" \
--pid="host" \
-v "/:/host:ro,rslave" \
quay.io/prometheus/node-exporter:latest \
--path.rootfs=/host
```
For Docker compose, similar flag changes are needed.
```yaml
---
version: '3.8'
services:
node_exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
```
On some systems, the `timex` collector requires an additional Docker flag,
`--cap-add=SYS_TIME`, in ord
阅读完整原文
项目深度分析 AI 生成
主机健康智能诊断与免配置告警 SaaS
| 产品构想 | 基于 node_exporter 暴露的标准指标,提供零门槛的一键安装 Agent 脚本或轻量 Pull 服务,云端自动生成 Grafana 级看板并结合规则模型做异常诊断与告警推送(微信/钉钉/邮件)。 |
| 核心功能 | 一键部署探针脚本、默认生产级告警规则集(CPU/内存/磁盘IO/网卡饱和度)、多云主机资产盘点、自动化异常归因报告 |
| 目标用户 | 缺乏专业 SRE 团队的中小企业、独立开发者、跨多云拥有分散 VPS 的运维人员 |
| 难度/周期 | 中等 · 1-2 个月 · 成本:极低(云服务器托管、时序数据库如 VictoriaMetrics 实例) |
| 收费模式 | 免费额度(如 3-5 台主机),超出按主机数量订阅收费(SaaS 模式,如 $2-$5/台/月) |
| 竞争风险 | 市面上存在成熟 APM 竞品(Datadog、观测云等),需主打极简轻量与极致性价比 |
| 依据 | 已验证事实 |
轻量级私有化主机管理面板与多节点运维系统
| 产品构想 | 将 node_exporter 作为内置核心数据源,打包前端 UI、告警引擎与主机批量管理能力,形成单二进制文件或 Docker 镜像交付的私有化面板。 |
| 核心功能 | Web 控制台集成、内置 Prometheus/TSDB 裁剪版、开箱即用的系统级指标可视化、主机巡检报告一键导出(PDF/Excel) |
| 目标用户 | 有数据合规要求、内网隔离环境的政企小团队、IDC 托管运维团队 |
| 难度/周期 | 中等 · 2-3 个月 · 成本:开发机器与测试环境 |
| 收费模式 | 开源核心版 + 商业版(许可证买断/年付订阅:高级告警通知渠道、权限控制、报告生成) |
| 竞争风险 | 开源竞品较多(如 1Panel、堡塔),需聚焦于深度监控与指标分析而非单纯面板管理 |
| 依据 | 数据支持的判断 |
跨云主机成本优化与容量规划分析平台
| 产品构想 | 分析 node_exporter 收集的长期负载指标(CPU/内存真实使用率、磁盘增长斜率),识别闲置/低效资源,自动输出降配与节约成本方案。 |
| 核心功能 | 历史负载趋势深度挖掘、资源浪费检测、按云厂商计费模型的降配建议生成、存储容量耗尽预警 |
| 目标用户 | 中大型初创公司技术负责人、FinOps 从业人员 |
| 难度/周期 | 较高 · 2-3 个月 · 成本:算力分析与云厂商价格库维护成本 |
| 收费模式 | 按节约成本百分比分成,或按接入分析的节点规模阶梯收费 |
| 竞争风险 | 中小团队资源基数较小节费动力不足,需依赖大客户销售周期 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2013-04-18,近 30 天仍在推送,发布过 58 个 Release |
| 社区活跃 | Star 13,921 / Fork 2,753 / Issue 332(数据支持,可自行核实) |
| 许可证 | Apache-2.0 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。