# Install nagios with Homebrew, apk, dnf, MacPorts, Nix, zypper

Network monitoring and management system. Version 4.5.13 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:nagios
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nagios
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nagios
```

  Evidence: MacPorts ports tree: net/nagios/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add nagios
```

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

- dnf (92%):

```sh
sudo dnf install nagios
```

  Evidence: Fedora Rawhide package metadata: nagios from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nagios
```

  Evidence: nixpkgs package indexes: pkgs/by-name/na/nagios/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install nagios
```

  Evidence: openSUSE Tumbleweed package metadata: nagios from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:nagios
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nagios>
- **Version:** 4.5.13
- **Source summary:** Network monitoring and management system
- **Homepage:** <https://www.nagios.org/>
- **Repository:** <https://github.com/NagiosEnterprises/nagioscore>
- **Upstream docs:** <https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/NagiosEnterprises/nagioscore/releases/download/nagios-4.5.13/nagios-4.5.13.tar.gz>
- **Last updated:** 2026-06-22T14:05:34-07:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- archivejson.cgi (cli)
- avail.cgi (cli)
- cmd.cgi (cli)
- config.cgi (cli)
- extinfo.cgi (cli)
- histogram.cgi (cli)
- history.cgi (cli)
- nagios (cli)
- nagiostats (cli)
- notifications.cgi (cli)
- objectjson.cgi (cli)
- outages.cgi (cli)
- showlog.cgi (cli)
- status.cgi (cli)
- statusjson.cgi (cli)
- statusmap.cgi (cli)
- statuswml.cgi (cli)
- statuswrl.cgi (cli)
- summary.cgi (cli)
- tac.cgi (cli)
- trends.cgi (cli)
- archivejson.cgi (alias)
- avail.cgi (alias)
- cmd.cgi (alias)
- config.cgi (alias)
- extinfo.cgi (alias)
- histogram.cgi (alias)
- history.cgi (alias)
- nagios (alias)
- nagiostats (alias)
- notifications.cgi (alias)
- objectjson.cgi (alias)
- outages.cgi (alias)
- showlog.cgi (alias)
- status.cgi (alias)
- statusjson.cgi (alias)
- statusmap.cgi (alias)
- statuswml.cgi (alias)
- statuswrl.cgi (alias)
- summary.cgi (alias)
- tac.cgi (alias)
- trends.cgi (alias)

## Dependencies

- gd
- jpeg-turbo
- libpng
- openssl@4

## Install behavior

- Post-install hook: defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.5.13
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/NagiosEnterprises/nagioscore
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

- <https://api.github.com/repos/NagiosEnterprises/nagioscore/releases?per_page=5>
- <https://formulae.brew.sh/formula/nagios>
- <https://github.com/NagiosEnterprises/nagioscore>
- <https://www.nagios.org/about/>
- <https://www.nagios.org/about/history/>


## Security Notes

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

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- 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/nagios.cfg, /usr/local/nagios/etc/hosts.cfg, /usr/local/nagios/etc/services.cfg, /usr/local/nagios/etc/commands.cfg

## Credential files

- Unix: /usr/local/nagios/etc/resource.cfg
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nagios
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - nagios: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/nagios/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - nagios - 4.5.13-r0: normalized package name match | Alpine Linux edge package indexes: nagios from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Popular monitoring tool | https://www.nagios.org/
- apk - nagios-apache - 4.5.13-r0: normalized package name match | Alpine Linux edge package indexes: nagios-apache from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Popular monitoring tool | https://www.nagios.org/
- apk - nagios-openrc - 4.5.13-r0: normalized package name match | Alpine Linux edge package indexes: nagios-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Popular monitoring tool (OpenRC init scripts) | https://www.nagios.org/
- apk - nagios-web - 4.5.13-r0: normalized package name match | Alpine Linux edge package indexes: nagios-web from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Popular monitoring tool | https://www.nagios.org/
- dnf - nagios - 4.5.12-2.fc45: normalized package name match | Fedora Rawhide package metadata: nagios from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Host/service/network monitoring program | https://www.nagios.org/projects/nagios-core/
- dnf - nagios-common - 4.5.12-2.fc45: normalized package name match | 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 | Provides common directories, uid and gid among nagios-related packages | https://www.nagios.org/projects/nagios-core/
- dnf - nagios-contrib - 4.5.12-2.fc45: normalized package name match | 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 | Eventhandlers contributed to nagios | https://www.nagios.org/projects/nagios-core/
- dnf - nagios-devel - 4.5.12-2.fc45: normalized package name match | 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 | Provides include files that Nagios-related applications may compile against | https://www.nagios.org/projects/nagios-core/
- dnf - nagios-httpd - 4.5.12-2.fc45: normalized package name match | 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 | Configuration files for Apache httpd | https://www.nagios.org/projects/nagios-core/
- dnf - nagios-selinux - 4.5.12-2.fc45: normalized package name match | 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 | SELinux context for nagios | https://www.nagios.org/projects/nagios-core/
- zypper - nagios - 4.5.12-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nagios from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The Nagios Network Monitor | http://www.nagios.org/
- zypper - nagios-contrib - 4.5.12-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nagios-contrib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Files from the contrib directory | http://www.nagios.org/
- zypper - nagios-devel - 4.5.12-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nagios-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for Nagios | http://www.nagios.org/
- zypper - nagios-theme-exfoliation - 4.5.12-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nagios-theme-exfoliation from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Nagios Core web interface | http://www.nagios.org/
- zypper - nagios-www - 4.5.12-1.2: normalized package name match | openSUSE Tumbleweed package metadata: nagios-www from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Provides the HTML and CGI files for the Nagios web interface | http://www.nagios.org/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [openssl@4](https://www.automicvault.com/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [nrpe](https://www.automicvault.com/pkg/brew/nrpe/) - Shares the same upstream homepage.
- [nagios-plugins](https://www.automicvault.com/pkg/brew/nagios-plugins/) - Shares av.db curated category or tags: cli, monitoring, nagios, network-monitoring, system.
- [monitoring-plugins](https://www.automicvault.com/pkg/brew/monitoring-plugins/) - Shares av.db curated category or tags: cli, monitoring, nagios, system.
- [netdata](https://www.automicvault.com/pkg/brew/netdata/) - Shares av.db curated category or tags: cli, infrastructure, monitoring, system.
- [sampler](https://www.automicvault.com/pkg/brew/sampler/) - Shares av.db curated category or tags: alerting, cli, monitoring, system.
- [zabbix](https://www.automicvault.com/pkg/brew/zabbix/) - Shares av.db curated category or tags: cli, infrastructure, monitoring, system.
- [asitop](https://www.automicvault.com/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, monitoring, system.

## Combined YAML source

View the package source record on GitHub. [combined/nagios.yml](https://github.com/automic-vault/db/blob/main/combined/nagios.yml)


## Sources

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