Nagios is an
event monitoring system that offers monitoring and alerting services for servers, switches, applications and services. It alerts users when things go wrong and alerts them a second time when the problem has been resolved.
Ethan Galstad and a group of
developers originally wrote Nagios as ''NetSaint''.
, they actively maintain both the official and unofficial
plugins. Nagios is a
recursive acronym: "Nagios Ain't Gonna Insist On Sainthood"
– "sainthood" makes reference to the original name ''NetSaint'', which changed in response to a legal challenge by owners of a similar trademark.
"
Agios" (or "hagios") also transliterates the Greek word ''άγιος'', which means "saint".
Nagios was originally designed to run under
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
, but it also runs on other
Unix
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
variants. It is
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
licensed under the terms of the
GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
version 2 as published by the
Free Software Foundation
The Free Software Foundation (FSF) is a 501(c)(3) non-profit organization founded by Richard Stallman on October 4, 1985. The organisation supports the free software movement, with the organization's preference for software being distributed ...
.
History
On 16 January 2014, Nagios Enterprises redirected the nagios-plugins.org domain to a web server controlled by Nagios Enterprises without explicitly notifying the Nagios Plugins community team the consequences of their actions. Nagios Enterprises replaced the nagios-plugins team with a group of new, different members. The community team members who were replaced continued their work under the name Monitoring Plugins along with a different website with the new domain o
monitoring-plugins.org
Design
Nagios agents include:
; NRPE: Nagios Remote Plugin Executor (NRPE) is a Nagios agent that allows remote system monitoring using scripts that are hosted on the remote systems. It allows for monitoring of resources such as disk usage, system load or the number of users currently logged in. Nagios periodically polls the agent on remote system using the
check_nrpe
plugin. NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This would allow you to monitor remote
machine
A machine is a physical system that uses power to apply forces and control movement to perform an action. The term is commonly applied to artificial devices, such as those employing engines or motors, but also to natural biological macromol ...
metrics (disk usage, CPU load, etc.). NRPE can also communicate with some Windows agent add-ons, so you can execute scripts and check metrics on remote Windows machines, as well. As of 28 Jan 2020, NRPE 4.0.1 has been deprecated.
; NRDP: Nagios Remote Data Processor (NRDP) is a Nagios agent with a flexible data transport mechanism and processor. It is designed with an architecture that allows it to be easily extended and customized. NRDP uses standard ports and protocols (
HTTP
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
and
XML
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...
) and can be implemented as a replacement for Nagios Service Check Acceptor (NSCA).
; NSClient++: This program is mainly used to monitor
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
machines. Being installed on a remote system, NSClient++ listens to port TCP 12489. The Nagios plugin that is used to collect information from this addon is called
check_nt
. As NRPE, NSClient++ allows to monitor the so-called 'private services' (memory usage, CPU load, disk usage, running processes, etc.) Nagios is a host and service monitor that is designed to inform you of network problems.
; NCPA: The Nagios Cross Platform Agent is an
open source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
project maintained by Nagios Enterprises. NCPA installs on Windows, Linux, and Mac OS X. Created as a scale-able API that allows flexibility and simplicity in monitoring hosts. NCPA allows multiple checks such as memory usage, CPU usage, disk usage, processes, services, and network usage. Active checks are queried through the
API
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build ...
of the "NCPA Listener" service while passive checks are sent via the "NCPA Passive" service.
Nagios XI
Nagios XI is a proprietary interface using Nagios Core as the back-end, written and maintained by the original author, Ethan Galstad, and Nagios Enterprises.
CentOS
CentOS (, from Community Enterprise Operating System; also known as CentOS Linux) is a discontinued Linux distribution that provided a free and open-source community-supported computing platform, functionally compatible with its upstream (softw ...
and
RHEL are the currently supported operating systems. It combines Nagios Core with other technologies. Its main database and the ndoutils module that is used alongside Nagios Core use
MySQL
MySQL () is an Open-source software, open-source relational database management system (RDBMS). Its name is a combination of "My", the name of co-founder Michael Widenius's daughter My, and "SQL", the acronym for Structured Query Language. A rel ...
. While the front-end of Nagios Core is mainly
CGI with some PHP,
most of the Nagios XI front-end and back-end are written in PHP including the subsystem, event handlers, and notifications, and
Python is used to create
capacity planning reports and other reports.
RRDtool and
Highcharts are included to create customizable graphs that can be displayed in
dashboards.
See also
*
*
*
*
*
*
*
References
Further reading
* Barth, Wolfgang; (2006) ''Nagios: System And Network Monitoring'' - No Starch Press
* Barth, Wolfgang; (2008) ''Nagios: System And Network Monitoring, 2nd edition'' - No Starch Press
* Turnbull, James; (2006) ''Pro Nagios 2.0'' - San Francisco: Apress
* Josephsen, David; (2007) ''Building a Monitoring Infrastructure with Nagios'' - Prentice Hall
* Dondich, Taylor; (2006) ''Network Monitoring with Nagios'' - O'Reilly
:* Schubert, Max et al.; (2008)
Nagios 3 Enterprise Network Monitoring' - Syngress
:* Kocjan, Wojciech; (2008)
Learning Nagios 3.0 - Packt Publishing
External links
*
*
{{Authority control
Internet Protocol based network software
Free network management software
Multi-agent network management software
Network analyzers
Linux security software
System administration
System monitors