Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, zypper 安装 node_exporter

查看 node_exporter 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install node_exporter

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install node_exporter

MacPorts ports tree · sysutils/node_exporter/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install node-exporter

Fedora Rawhide package metadata · node-exporter · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install golang-github-prometheus-node_exporter

openSUSE Tumbleweed package metadata · golang-github-prometheus-node_exporter · 来源: download.opensuse.org

概览

软件包摘要

Prometheus exporter for machine metrics

命令和别名

  • node_exporter
  • node_exporter_brew_services

历史

项目历史与用法

`node_exporter` is Prometheus's Unix host-metrics exporter. It is one of the canonical Prometheus deployment pieces: install it on a machine, expose `/metrics` on port 9100, and let Prometheus scrape CPU, memory, filesystem, network, kernel, and other machine-level metrics.

项目历史

The GitHub repository was created on 2013-04-18 under the Prometheus organization. The README describes it as a Go exporter for hardware and OS metrics exposed by *NIX kernels, with pluggable collectors and a separate recommendation to use `windows_exporter` for Windows machines.

The project evolved by growing a large collector surface while keeping some expensive or high-cardinality collectors disabled by default. The README documents default collectors such as cpu, diskstats, filesystem, loadavg, meminfo, netdev, textfile, uname, vmstat, and many others, plus opt-in collectors such as systemd, perf, processes, tcpstat, wifi, and zoneinfo.

采用历史

By 2026-07-01, GitHub metadata reported 13562 stars and 2672 forks for `prometheus/node_exporter`. Homebrew's formula API reported stable version 1.11.1 and 5544 installs over 365 days. That Homebrew number is only a small slice of usage because production deployments often use distro packages, containers, configuration management, or upstream release tarballs.

The Prometheus documentation treats Node Exporter as the standard path for Linux host metrics and walks through downloading a release, running the binary, scraping `localhost:9100`, and checking metrics with the `node_` prefix. Grafana and Prometheus ecosystem docs commonly use it as the base host telemetry example.

使用方式

The practical pattern is boring and important: run one `node_exporter` per host, expose port 9100 to Prometheus, and tune collectors only when needed. In containers, the README warns that the exporter is designed to monitor the host system, so Docker deployments bind-mount the host root filesystem, use host networking and PID namespace, and set `--path.rootfs=/host`.

Package nerds care about collector flags. Default collectors cover the normal node dashboard path; opt-in collectors need testing because scrape duration, timeout, and sample cardinality can jump. The textfile collector is the escape hatch for local scripts and cron jobs: write Prometheus-format files to a configured directory and let node_exporter expose them with the rest of the host metrics.

为什么软件包爱好者会关心

This is not related to Node.js despite the name. In Prometheus vocabulary, a node is a machine. That naming collision is worth encoding because package search and enrichment can otherwise confuse JavaScript tooling with host observability tooling.

时间线

  • 2013-04-18: GitHub repository `prometheus/node_exporter` was created.
  • 2024-07-14: v1.8.2 release metadata appeared in GitHub releases.
  • 2025-10-24: v1.10.0 was released.
  • 2026-04-07: v1.11.1 was released and Homebrew reported it as the stable formula version on 2026-07-01.

Related projects

  • Prometheus
  • Grafana
  • windows_exporter
  • prometheus-community/node-exporter-textfile-collector-scripts

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
node_exportercli全局可执行文件
node_exporter_brew_servicescli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.12.1
管理器更新时间2026-07-14
本地数据OK
上游当前
检测到的最新版本v1.12.1

https://github.com/prometheus/node_exporter

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:node_exporter
版本1.12.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/node_exporter
主页https://prometheus.io/
仓库https://github.com/prometheus/node_exporter
上游文档https://github.com/prometheus/node_exporter#readme
许可证Apache-2.0
源码归档https://github.com/prometheus/node_exporter/archive/refs/tags/v1.12.1.tar.gz
最后更新2026-07-14T14:36:40Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项When run from `brew services`, `node_exporter` is run from `node_exporter_brew_services` and uses the flags in: $HOMEBREW_PREFIX/etc/node_exporter.args

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenode_exporter
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

dnf95%

node-exporter 1.11.1-1.fc45

Exporter for machine metrics

https://github.com/prometheus/node_exporter

sudo dnf install node-exporter
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: node-exporter
  • 5 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Node Exporter
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: node-exporter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

golang-github-prometheus-node_exporter 1.11.1-1.1

Prometheus exporter for machine metrics

https://github.com/prometheus/node_exporter

sudo zypper install golang-github-prometheus-node_exporter
  • License: Apache-2.0
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: golang-github-prometheus-node_exporter
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Node Exporter
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: golang-github-prometheus-node_exporter from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

node_exporter

sudo port install node_exporter
  • normalized package name match
  • 匹配方式:Node Exporter
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/node_exporter/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment