# 使用 Homebrew, apk, dnf, zypper 安装 nrpe

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

## 安装

```sh
sudo av install brew:nrpe
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nrpe
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nrpe
```

  证据: Alpine Linux edge package indexes: nrpe from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install nrpe
```

  证据: Fedora Rawhide package metadata: nrpe from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install nrpe
```

  证据: openSUSE Tumbleweed package metadata: nrpe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:nrpe
- **软件包管理器:** Homebrew
- **版本:** 4.1.3
- **来源摘要:** Nagios remote plugin executor
- **主页:** <https://www.nagios.org/>
- **仓库:** <https://github.com/NagiosEnterprises/nrpe>
- **最后更新:** 2026-06-22T14:05:38-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- check_nrpe (别名)
- nrpe (别名)
- nrpe-uninstall (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.1.3
## 项目历史与用法

NRPE is the Nagios Remote Plugin Executor: a daemon and companion check plugin used to run Nagios-compatible checks on remote hosts and return plugin output/status to a Nagios server. The upstream README frames it as a way to execute Nagios plugins remotely as transparently as possible.

### 项目历史

NRPE predates its GitHub repository; Nagios announced on May 8, 2014 that NRPE, Nagios Core, and NDOUtils moved from SourceForge to GitHub to make community contributions easier. The GitHub repository was created on January 21, 2014, matching that migration period.

### 采用历史

NRPE became one of the classic ways to extend Nagios monitoring from network-visible checks into host-local checks such as disk, process, load, and custom scripts. Even where newer agents such as NCPA or direct exporters are used, NRPE remains packaged by multiple Linux distributions and Homebrew because many Nagios/Icinga-style deployments still understand `check_nrpe`.

### 使用方式

Operators install the NRPE daemon on monitored hosts, configure allowed monitoring servers and named commands in `nrpe.cfg`, then run `check_nrpe` from the monitoring server to request those commands. The model deliberately separates the remote agent (`nrpe`) from the Nagios-side plugin (`check_nrpe`).

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

NRPE is historically important monitoring plumbing: small, old, and security-sensitive. Its changelog shows why packagers care about versioning, because the 4.0.0 release on January 13, 2019 included security fixes affecting both daemon and plugin while preserving interoperability with older versions.

### 时间线

- 2014-01-21: GitHub repository created.
- 2014-05-08: Nagios announced NRPE's move from SourceForge to GitHub.
- 2019-01-13: NRPE 4.0.0 released with daemon/plugin security fixes and TLS-related updates.
- 2024-12-10: NRPE 4.1.3 bugfix release published.

### 来源

- <https://formulae.brew.sh/api/formula/nrpe.json>
- <https://github.com/NagiosEnterprises/nrpe>
- <https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md>
- <https://github.com/NagiosEnterprises/nrpe/releases>
- <https://www.nagios.org/2014/05/08/nagios-projects-moved-to-github/>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /usr/local/nagios/etc/nrpe.cfg
## 其他软件包管理器记录

- apk - nrpe - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: nrpe from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. | https://www.nagios.org/downloads/nagios-core-addons/
- apk - nrpe-openrc - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: nrpe-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. (OpenRC init scripts) | https://www.nagios.org/downloads/nagios-core-addons/
- apk - nrpe-plugin - 4.1.3-r0: normalized package name match | Alpine Linux edge package indexes: nrpe-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Nagios plugin to check result via NRPE daemon | https://www.nagios.org/downloads/nagios-core-addons/
- dnf - nagios-plugins-nrpe - 4.1.3-7.fc45: normalized package name match | Fedora Rawhide package metadata: nagios-plugins-nrpe from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Provides nrpe plugin for Nagios | http://www.nagios.org
- dnf - nrpe - 4.1.3-7.fc45: normalized package name match | Fedora Rawhide package metadata: nrpe from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Host/service/network monitoring agent for Nagios | http://www.nagios.org
- zypper - monitoring-plugins-nrpe - 4.1.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: monitoring-plugins-nrpe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | NRPE plugin | http://www.nagios.org/
- zypper - nrpe - 4.1.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: nrpe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Nagios Remote Plug-In Executor | http://www.nagios.org/
- zypper - nrpe-doc - 4.1.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: nrpe-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Nagios Remote Plug-In Executor documentation | http://www.nagios.org/


## Combined YAML source

View the package source record on GitHub. [combined/nrpe.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nrpe.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
