Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 nagios

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nagios

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nagios

MacPorts ports tree · net/nagios/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nagios

Alpine Linux edge package indexes · nagios · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install nagios

Fedora Rawhide package metadata · nagios · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nagios

nixpkgs package indexes · pkgs/by-name/na/nagios/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install nagios

openSUSE Tumbleweed package metadata · nagios · 来源: download.opensuse.org

概览

软件包摘要

Network monitoring and management system

命令和别名

  • archivejson.cgi
  • avail.cgi
  • cmd.cgi
  • config.cgi
  • extinfo.cgi
  • histogram.cgi
  • history.cgi
  • nagios
  • nagiostats
  • notifications.cgi
  • objectjson.cgi
  • outages.cgi
  • showlog.cgi
  • status.cgi
  • statusjson.cgi
  • statusmap.cgi
  • statuswml.cgi
  • statuswrl.cgi
  • summary.cgi
  • tac.cgi
  • trends.cgi

历史

项目历史与用法

Nagios Core is one of the long-running reference points for open source infrastructure monitoring: a scheduler, notification engine, web UI, and plugin model for checking hosts, services, and network devices.

项目历史

Nagios traces its architecture to Ethan Galstad's 1996 MS-DOS pager/checking tool and a 1998 Linux rewrite. Galstad released the project as open source in 1999 under the name NetSaint, then renamed it Nagios in 2002 after trademark concerns; the official history expands the name as "Nagios Ain't Gonna Insist On Sainthood." The plugin checks that originally shipped with NetSaint were split into the separate Nagios Plugins project, which became central to the ecosystem.

The project became Nagios Core in 2009, after Nagios Enterprises had been formed in 2007 to provide consulting and commercial development around the open source engine. Nagios Core 4 arrived in 2013, and the GitHub release stream still carries 4.x maintenance releases; release 4.5.13 was published on 2026-05-28.

采用历史

Nagios grew from a sysadmin tool into an ecosystem by the late 2000s. The official history records SourceForge Project of the Month in June 2005, eWeek and LinuxQuestions.org recognition in 2006-2007, InfoWorld BOSSIE recognition in 2008 and 2009, more than 500,000 direct SourceForge downloads by 2008, more than 600,000 by 2009, and more than 8 million installs since 2008 by 2014.

Homebrew is not Nagios's primary deployment channel, but it remains a convenient local install path for Mac and Linux users. The Homebrew formula page consulted on 2026-07-01 listed Nagios 4.5.13 and 509 installs over the prior 365 days.

使用方式

Package nerds use Nagios as the classic check/alert loop: define hosts and services, run plugin commands such as ping, HTTP, SSH, disk, or custom checks, and let Nagios notify when state changes. It is especially common as a baseline or compatibility target because many monitoring plugins, add-ons, and forks learned from its object model and check-result format.

A Homebrew install is most useful for labs, local config validation, plugin experimentation, or small monitoring setups. Production Nagios deployments more often live on Linux servers with explicit configuration under a Nagios etc directory, a web server front end for the CGI views, and a large local collection of plugins.

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

Nagios matters because it normalized the small-executable monitoring plugin pattern: the core does scheduling and state, while checks are ordinary commands with exit codes and text output. That shape made it easy to package checks separately, script local probes, and carry Nagios-compatible checks into later monitoring stacks.

时间线

  • 1996: Ethan Galstad builds a pager/checking tool for Novell NetWare servers.
  • 1999: The project is released as NetSaint.
  • 2002: NetSaint is renamed Nagios; plugins move under the Nagios Plugins project.
  • 2007: Nagios Enterprises is founded.
  • 2009: The open source engine is renamed Nagios Core.
  • 2013: Nagios Core 4 is released.
  • 2026-05-28: Nagios Core 4.5.13 is published on GitHub.

Related projects

  • Nagios Plugins
  • Nagios XI
  • Icinga
  • Naemon
  • Checkmk

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:network,archive

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

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

local files

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

Config paths the tool may read or write during local use.

Unix
/usr/local/nagios/etc/nagios.cfg/usr/local/nagios/etc/hosts.cfg/usr/local/nagios/etc/services.cfg/usr/local/nagios/etc/commands.cfg

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/usr/local/nagios/etc/resource.cfg

可执行文件

已安装的可执行文件

命令类型暴露范围备注
archivejson.cgicli全局可执行文件
avail.cgicli全局可执行文件
cmd.cgicli全局可执行文件
config.cgicli全局可执行文件
extinfo.cgicli全局可执行文件
histogram.cgicli全局可执行文件
history.cgicli全局可执行文件
nagioscli全局可执行文件
nagiostatscli全局可执行文件
notifications.cgicli全局可执行文件
objectjson.cgicli全局可执行文件
outages.cgicli全局可执行文件
showlog.cgicli全局可执行文件
status.cgicli全局可执行文件
statusjson.cgicli全局可执行文件
statusmap.cgicli全局可执行文件
statuswml.cgicli全局可执行文件
statuswrl.cgicli全局可执行文件
summary.cgicli全局可执行文件
tac.cgicli全局可执行文件
trends.cgicli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本4.5.13
管理器更新时间2026-07-21
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/NagiosEnterprises/nagioscore

安装元数据

软件包元数据

软件包键brew:nagios
版本4.5.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nagios
主页https://www.nagios.org/
仓库https://github.com/NagiosEnterprises/nagioscore
上游文档https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en
许可证GPL-2.0-only
源码归档https://github.com/NagiosEnterprises/nagioscore/releases/download/nagios-4.5.13/nagios-4.5.13.tar.gz
最后更新2026-07-21T13:00:30+01:00
Pulseupdated
依赖gd, jpeg-turbo, libpng, openssl@4
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

nagios

nix profile install nixpkgs#nagios
  • normalized package name match
  • 匹配方式:Nagios
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/na/nagios/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

nagios 4.5.13-r0

Popular monitoring tool

https://www.nagios.org/

sudo apk add nagios
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: nagios
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nagios from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nagios-apache 4.5.13-r0

Popular monitoring tool

https://www.nagios.org/

sudo apk add nagios-apache
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: nagios
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nagios
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nagios-apache from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nagios-openrc 4.5.13-r0

Popular monitoring tool (OpenRC init scripts)

https://www.nagios.org/

sudo apk add nagios-openrc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: nagios
  • normalized package name match
  • 匹配方式:Nagios
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nagios-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nagios-web 4.5.13-r0

Popular monitoring tool

https://www.nagios.org/

sudo apk add nagios-web
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: nagios
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nagios
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nagios-web from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

nagios 4.5.12-2.fc45

Host/service/network monitoring program

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nagios
  • 21 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nagios-common 4.5.12-2.fc45

Provides common directories, uid and gid among nagios-related packages

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios-common
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nagios
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nagios-contrib 4.5.12-2.fc45

Eventhandlers contributed to nagios

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios-contrib
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nagios
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios-contrib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nagios-devel 4.5.12-2.fc45

Provides include files that Nagios-related applications may compile against

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios-devel
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nagios
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nagios-httpd 4.5.12-2.fc45

Configuration files for Apache httpd

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios-httpd
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nagios
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios-httpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nagios-selinux 4.5.12-2.fc45

SELinux context for nagios

https://www.nagios.org/projects/nagios-core/

sudo dnf install nagios-selinux
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nagios
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nagios-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

nagios 4.5.12-1.2

The Nagios Network Monitor

http://www.nagios.org/

sudo zypper install nagios
  • License: GPL-2.0-or-later
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: nagios
  • 18 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nagios
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nagios from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nagios-contrib 4.5.12-1.2

Files from the contrib directory

http://www.nagios.org/

sudo zypper install nagios-contrib
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: nagios
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nagios-contrib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nagios-devel 4.5.12-1.2

Development files for Nagios

http://www.nagios.org/

sudo zypper install nagios-devel
  • License: GPL-2.0-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: nagios
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nagios-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nagios-theme-exfoliation 4.5.12-1.2

Nagios Core web interface

http://www.nagios.org/

sudo zypper install nagios-theme-exfoliation
  • License: GPL-2.0-or-later
  • Category: System/Monitoring
  • Architecture: noarch
  • Source Package: nagios
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nagios
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nagios-theme-exfoliation from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nagios-www 4.5.12-1.2

Provides the HTML and CGI files for the Nagios web interface

http://www.nagios.org/

sudo zypper install nagios-www
  • License: GPL-2.0-or-later
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: nagios
  • 17 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nagios
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nagios-www from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment