Nagios Explained
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.[3], they actively maintain both the official and unofficial plugins. Nagios is a recursive acronym: "Nagios Ain't Gonna Insist On Sainthood"[4] – "sainthood" makes reference to the original name NetSaint, which changed in response to a legal challenge by owners of a similar trademark.[5] "Agios" (or "hagios") also transliterates the Greek word άγιος, which means "saint".
Nagios was originally designed to run under Linux, but it also runs on other Unix variants. It is free software licensed under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
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.[6] [7] Nagios Enterprises replaced the nagios-plugins team with a group of new, different members.[8] The community team members who were replaced continued their work under the name Monitoring Plugins along with a different website with the new domain of monitoring-plugins.org.[9]
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.[10] 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 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.[11]
NRDP: Nagios Remote Data Processor (NRDP) is a Nagios agent with a flexible data transport mechanism and processor.[12] It is designed with an architecture that allows it to be easily extended and customized. NRDP uses standard ports and protocols (HTTP and XML) and can be implemented as a replacement for Nagios Service Check Acceptor (NSCA).
NSClient++: This program is mainly used to monitor Windows 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 project maintained by Nagios Enterprises.[13] 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 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 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. While the front-end of Nagios Core is mainly CGI with some PHP,[14] 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.
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
Notes and References
- Web site: NetSaint Change Log . 2002-03-01 . https://web.archive.org/web/20060501150621/http://www.netsaint.org/changelog.php . 2006-05-01 . dead.
- Web site: Releases - NagiosEnterprises/nagioscore . . 26 October 2022.
- Web site: Open Source Monitoring: Icinga vs Nagios Sos open source . Sosopensource.com . 2010-11-25 . 2020-05-26. Nagios – whose name is a recursive acronym (“Nagios Ain’t Gonna Insist On Sainthood”) ironically refers to the original name NetSaint changed to avoid trademark troubles – is among the most popular open source network management tools and application..
- Web site: FAQ Database: Miscellaneous: What does Nagios mean?. Galstad. Ethan. 2009-08-24. Nagios: Frequently Asked Questions. Nagios Enterprises, LLC. The official meaning is that N.A.G.I.O.S. is a recursive acronym which stands for "Nagios Ain't Gonna Insist On Sainthood".. 2014-06-02.
- Web site: 2005-02-22 - Ethan Galstad. 2005-02-22. FOSDEM 2005. Although we were able to eventually reach an amicable agreement on my future use of the name "NetSaint", I felt it was prudent to change the name in order to prevent any future mishaps.. 2014-06-02.
- Web site: Bug 1054340: Update upstream URL to https://www.monitoring-plugins.org| date=2014-01-16. Red Hat. 2014-06-02.
- Web site: Nagios-Plugins Web Site Taken Over By Nagios . Slashdot.
- Web site: Uncomfortable Info On The Plugin Team Changes. nagios-plugins.org. 29 June 2016.
- Web site: HEADS UP New project name: Monitoring Plugins. Holger Weiß. 2014-01-16. 2014-06-02.
- Web site: NagiosEnterprises/nrpe. github.com. 9 September 2022 .
- Web site: Add deprecation notice . 2021-07-16 . GitHub.
- Web site: NagiosEnterprises/nrdp. github.com. 2 December 2021 .
- Web site: NCPA. 12 August 2022 . GitHub.
- Web site: ageric/nagios. github.com. 4 January 2022 .