Nagios

Open-source network and infrastructure monitoring software From Wikipedia, the free encyclopedia

Nagios (/ˈnɑːɡs/) is an open-source network and infrastructure monitoring system. It monitors hosts, services, and network devices, sending alerts when components fail and again when they recover. Originally written by Ethan Galstad in 1999 as NetSaint, it was renamed Nagios in 2002 after a trademark dispute.[3] The name is a recursive acronym: "Nagios Ain't Gonna Insist On Sainthood."[4]

Original authorEthan Galstad
DeveloperNagios Enterprises
Initial releaseMarch 14, 1999; 26 years ago (1999-03-14)[1]
Stable release
4.5.11 / January 15, 2026; 55 days ago (2026-01-15)[2]
Quick facts Original author, Developer ...
Nagios Core
Original authorEthan Galstad
DeveloperNagios Enterprises
Initial releaseMarch 14, 1999; 26 years ago (1999-03-14)[1]
Stable release
4.5.11 / January 15, 2026; 55 days ago (2026-01-15)[2]
Written inC[2]
Operating systemLinux, Unix
TypeNetwork monitoring
LicenseGPLv2
Websitewww.nagios.org
Repositorygithub.com/NagiosEnterprises/nagioscore
Close

Nagios uses a plugin-based architecture: the core scheduler runs check plugins at configured intervals, processes the results, and triggers notifications. Hundreds of community-developed plugins exist for monitoring specific services and hardware.[5] Nagios is written in C and runs on Linux and other Unix systems. It is licensed under the GPLv2.[2]

Galstad founded Nagios Enterprises in 2007 to provide commercial support and the proprietary Nagios XI product. The project's plugin-architecture model influenced several derivative projects, including Icinga (2009), Shinken (2009), Naemon (2013), and Checkmk.[6]

History

Galstad released NetSaint 0.0.1 on March 14, 1999. The initial release supported host and service monitoring via plugins, with notifications by email and pager.[1] NetSaint was registered on SourceForge about two months before the project that became OpenNMS.[7]

In 2002, Galstad renamed the project to Nagios after the owners of a similarly named trademark raised a legal challenge. Although an agreement was reached, Galstad chose to change the name to avoid future disputes.[3] "Agios" (hagios) transliterates the Greek word for "saint," linking the new name to the old.[4]

Nagios 2.0 (February 2006) added a redesigned web interface and the Event Broker (NEB) module API, which allowed third-party software to access Nagios's internal data structures. Nagios 3.0 (March 2008) introduced adaptive monitoring and improved performance for large installations. Nagios 4.0 (September 2013) added a redesigned CGI interface, worker processes for parallel check execution, and reduced CPU usage on large deployments.[2]

Icinga fork

In May 2009, a group of community developers forked Nagios as Icinga, citing frustration with slow development, lack of community involvement in decision-making, and what they considered insufficient response to submitted patches.[6][8] Icinga initially maintained compatibility with Nagios plugins and configuration files. Icinga 2 (2014) was a ground-up rewrite with a new configuration language and distributed monitoring support.

Plugins controversy

On January 16, 2014, Nagios Enterprises redirected the nagios-plugins.org domain to a server it controlled without notifying the community plugin team.[9][10] The displaced maintainers continued their work under the name "Monitoring Plugins" at monitoring-plugins.org.[11]

Architecture

Plugin model

Nagios Core does not perform monitoring checks directly. Instead, it executes external programs (plugins) that test a specific service or resource and return a status code: 0 (OK), 1 (WARNING), 2 (CRITICAL), or 3 (UNKNOWN). This design allows administrators to write custom plugins in any language. The project maintains an official plugin set, and hundreds of community plugins are available from the Monitoring Plugins project and Nagios Exchange.[5]

Agents

NRPE
The Nagios Remote Plugin Executor runs plugins on remote Linux/Unix systems and returns results to the Nagios server via the check_nrpe plugin. NRPE 4.0.1 was deprecated in January 2020.[12]
NRDP
The Nagios Remote Data Processor uses HTTP and XML for flexible passive check submission, replacing the older NSCA protocol.[13]
NCPA
The Nagios Cross Platform Agent runs on Windows, Linux, and macOS, providing both active and passive check capabilities through a REST API.[14]
NSClient++
A Windows-focused agent that reports system metrics (CPU, memory, disk, processes) to Nagios via the check_nt plugin.

Web interface

Nagios Core provides a CGI-based web interface for viewing host and service status, alert history, and availability reports. The interface displays a tactical overview, status maps, and alert histograms.[5]

Nagios XI

Nagios XI is a proprietary monitoring platform built on Nagios Core. It provides a PHP-based web interface, a configuration wizard system, customizable dashboards, capacity planning reports, and integration with RRDtool and Highcharts for graphing. The backend uses MySQL for configuration and event data (via the NDOUtils module). Nagios XI runs on CentOS and RHEL.[15]

See also

References

Further reading

Related Articles

Wikiwand AI