Nagios

{{short description|Computer system and network monitoring application software}}

{{Multiple issues|

{{Advert|date=February 2022}}

{{Primary sources|date=February 2022}}

{{Self-published|date=February 2022}}

}}

{{Infobox software

| name = Nagios Core

| logo = Nagios logo.svg

| screenshot =

| caption =

| author = Ethan Galstad and [http://www.nagios.org/about/team others]

| developer =

| released = {{release date and age|2002|03|01}}{{cite web

| url=http://www.netsaint.org/changelog.php

| title=NetSaint Change Log

| date=2002-03-01

| archive-url=https://web.archive.org/web/20060501150621/http://www.netsaint.org/changelog.php

| archive-date=2006-05-01

| url-status=dead}}

| latest release version = 4.5.5

| latest release date = {{release date and age|2024|09|17}}{{cite web

| url=https://github.com/NagiosEnterprises/nagioscore/releases

| title=Releases - NagiosEnterprises/nagioscore

| website=GitHub

| access-date=26 October 2022}}

| repo = {{URL|https://github.com/NagiosEnterprises/nagioscore}}

| programming language = C

| operating system = Cross-platform

| platform =

| language =

| genre = Network monitoring

| license = [http://sourceforge.net/p/nagios/nagioscore/ci/master/tree/LICENSE GPLv2]

| website = {{url|https://www.nagios.org}}

}}

Nagios {{IPAc-en|ˈ|n|ɑː|ɡ|iː|oʊ|s}} 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.{{cite web|url=http://sosopensource.com/325.html |title=Open Source Monitoring: Icinga vs Nagios Sos open source |publisher=Sosopensource.com |date=2010-11-25 |access-date=2020-05-26| quote=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.}} {{As of | 2015}}, they actively maintain both the official and unofficial plugins. Nagios is a recursive acronym: "Nagios Ain't Gonna Insist On Sainthood"{{cite web

| url = http://support.nagios.com/knowledgebase/faqs/index.php?id=52&catid=35&faq_id=2

| title = FAQ Database: Miscellaneous: What does Nagios mean?

| last = Galstad

| first = Ethan

| date = 2009-08-24

| work = Nagios: Frequently Asked Questions

| publisher = Nagios Enterprises, LLC

| quote = 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".

| access-date = 2014-06-02}} – "sainthood" makes reference to the original name NetSaint, which changed in response to a legal challenge by owners of a similar trademark.{{cite web

| url = http://archive.fosdem.org/2005/index/interviews/interviews_galstad.html

| title = 2005-02-22 - Ethan Galstad

| date = 2005-02-22

| work = FOSDEM 2005

| quote = 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.

| access-date = 2014-06-02}} "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.{{cite web| url=https://bugzilla.redhat.com/show_bug.cgi?id=1054340| title=Bug 1054340: Update upstream URL to https://www.monitoring-plugins.org| date=2014-01-16| publisher=Red Hat| access-date=2014-06-02}}{{cite web|url=https://tech.slashdot.org/story/14/01/19/0454222/nagios-plugins-web-site-taken-over-by-nagios|title=Nagios-Plugins Web Site Taken Over By Nagios |date=19 January 2014 |publisher=Slashdot}} Nagios Enterprises replaced the nagios-plugins team with a group of new, different members.{{cite web|title=Uncomfortable Info On The Plugin Team Changes|url=https://nagios-plugins.org/uncomfortable-info-on-the-plugin-team-changes/|website=nagios-plugins.org|date=24 January 2014 |access-date=29 June 2016}} 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 [https://www.monitoring-plugins.org/ monitoring-plugins.org].{{cite web| url=https://www.monitoring-plugins.org/archive/help/2014-January/006503.html|title=HEADS UP New project name: Monitoring Plugins|author=Holger Weiß|date=2014-01-16|access-date=2014-06-02}}

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.{{cite web|url=https://github.com/NagiosEnterprises/nrpe|title=NagiosEnterprises/nrpe|work=github.com|date=9 September 2022 }} 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.{{Cite web |title=Add deprecation notice |url=https://github.com/NagiosEnterprises/nrpe/commit/e5cdd3b641b36ca4f56b1c5ca7286dafb85ab56f |access-date=2021-07-16 |website=GitHub}}

; NRDP: Nagios Remote Data Processor (NRDP) is a Nagios agent with a flexible data transport mechanism and processor.{{cite web|url=https://github.com/NagiosEnterprises/nrdp|title=NagiosEnterprises/nrdp|work=github.com|date=2 December 2021 }} 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.{{cite web|url=https://github.com/NagiosEnterprises/ncpa|title=NCPA|date=12 August 2022 |publisher=GitHub}} 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,{{cite web|url=https://github.com/ageric/nagios/blob/master/html/main.php|title=ageric/nagios|work=github.com|date=4 January 2022 }} 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

{{Portal|Free and open-source software}}

  • {{annotated link|Check MK}}
  • {{annotated link|Comparison of network monitoring systems}}
  • {{annotated link|Icinga}}
  • {{annotated link|Naemon}}
  • {{annotated link|Nconf}}
  • {{annotated link|Shinken (software)}}
  • {{annotated link|NetXMS}}

References

{{refs}}

Further reading

{{refbegin}}

  • Barth, Wolfgang; (2006) Nagios: System And Network Monitoring - No Starch Press {{ISBN|1-59327-070-4}}
  • Barth, Wolfgang; (2008) Nagios: System And Network Monitoring, 2nd edition - No Starch Press {{ISBN|1-59327-179-4}}
  • Turnbull, James; (2006) Pro Nagios 2.0 - San Francisco: Apress {{ISBN|1-59059-609-9}}
  • Josephsen, David; (2007) Building a Monitoring Infrastructure with Nagios - Prentice Hall {{ISBN|0-13-223693-1}}
  • Dondich, Taylor; (2006) Network Monitoring with Nagios - O'Reilly {{ISBN|0-596-52819-1}}

:* Schubert, Max et al.; (2008) [http://www.nagios3book.com/ Nagios 3 Enterprise Network Monitoring] - Syngress {{ISBN|978-1-59749-267-6}}

:* Kocjan, Wojciech; (2008) "[https://web.archive.org/web/20090813073735/http://www.packtpub.com/guide-for-learning-nagios-3 Learning Nagios 3.0]" - Packt Publishing {{ISBN|1-84719-518-0}}

{{refend}}