Jump to content

Nagios

From Wikipedia, the free encyclopedia

Template:Short description Template:Use American English Template:Use mdy dates {{#invoke:Infobox|infobox}}Template:Template other {{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y| AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo class | logo size | logo title | logo upright | logo_alt | logo_caption | logo_class | logo_size | logo_title | logo_upright | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | qid | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot class | screenshot size | screenshot title | screenshot upright | screenshot_alt | screenshot_class | screenshot_size | screenshot_upright | service_name | size | standard | title | ver layout | website }}Template:Main other{{#invoke:Check for conflicting parameters|check | template = Template:Infobox software | cat = Template:Main other | logo size; logo_size | logo class; logo_class | logo alt; logo_alt | logo title; logo_title | logo caption; logo_caption | screenshot size; screenshot_size | screenshot upright; screenshot_upright | screenshot class; screenshot_class | screenshot alt; screenshot_alt | screenshot title; screenshot title | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | latest release version; latest_release_version | latest release date; latest_release_date | latest preview version; latest_preview_version | latest preview date; latest_preview_date | programming language; programming_language | operating system; operating_system }}

Nagios (Template:IPAc-en) 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.[1] The name is a recursive acronym: "Nagios Ain't Gonna Insist On Sainthood."[2]

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.[3] Nagios is written in C and runs on Linux and other Unix systems. It is licensed under the GPLv2.[4]

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.[5]

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.[6] 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.[1] "Agios" (hagios) transliterates the Greek word for "saint," linking the new name to the old.[2]

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.[4]

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.[5][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.[3]

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.[3]

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

Template:Portal Template:Sister project

References

Template:Reflist

Further reading

Template:Refbegin

  • Barth, Wolfgang (2008). Nagios: System And Network Monitoring, 2nd edition. No Starch Press. Template:ISBN.
  • Josephsen, David (2007). Building a Monitoring Infrastructure with Nagios. Prentice Hall. Template:ISBN.
  • Schubert, Max et al. (2008). Nagios 3 Enterprise Network Monitoring. Syngress. Template:ISBN.

Template:Refend

Template:Authority control

  1. ↑ 1.0 1.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  2. ↑ 2.0 2.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  3. ↑ 3.0 3.1 3.2 Barth, Wolfgang (2008). Nagios: System And Network Monitoring, 2nd edition. No Starch Press. Template:ISBN.
  4. ↑ 4.0 4.1 Cite error: Invalid <ref> tag; no text was provided for refs named gh-nagios-releases
  5. ↑ 5.0 5.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  6. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named netsaint-cl
  7. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  8. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  9. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  10. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  11. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  12. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  13. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  14. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  15. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}