Difference between revisions of "Nagios"

From wikieduonline
Jump to navigation Jump to search
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[wikipedia:Nagios|Nagios]] is an application that [[monitoring|monitors systems]], networks and infrastructure with alerting capabilities. There is different Nagios agents for collection data are available<ref>https://en.wikipedia.org/wiki/Nagios#Nagios_agents</ref>.
+
[[wikipedia:Nagios|Nagios]] ([[2002]]) is an application that [[monitoring|monitors systems]], networks and infrastructure with [[alerting]] capabilities. There is different Nagios agents for collection data are available<ref>https://en.wikipedia.org/wiki/Nagios#Nagios_agents</ref>.
  
 +
== Features ==
 
Some features of Nagios Core include:<ref>https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/about.html#whatis</ref>
 
Some features of Nagios Core include:<ref>https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/about.html#whatis</ref>
* [[Monitoring]] of network services (SMTP, POP3, HTTP, NNTP, PING, etc.)
+
* [[Monitoring]] of network services (SMTP, POP3, HTTP, NNTP, PING, [[MariaDB]], etc.)
 
* Monitoring of host resources (processor load, disk usage, etc.)
 
* Monitoring of host resources (processor load, disk usage, etc.)
 
* Simple plugin design that allows users to easily develop their own service checks
 
* Simple plugin design that allows users to easily develop their own service checks
Line 12: Line 13:
 
* Support for implementing redundant monitoring hosts
 
* Support for implementing redundant monitoring hosts
 
* Optional web interface for viewing current network status, notification and problem history, log file, etc.
 
* Optional web interface for viewing current network status, notification and problem history, log file, etc.
 +
 +
== Installation ==
 +
* Ubuntu: <code>[[apt install nagios4]]</code>
 +
* MacOs: <code>[[brew install nagios]]</code>
 +
Binaries:
 +
* <code>[[nagios3stats]]</code>
 +
* <code>[[nagios3 --help]]</code>
 +
* <code>[[/usr/lib/nagios/plugins/]]</code>
  
 
== Configuration file ==
 
== Configuration file ==
* <code>/etc/nagios3/nagios.cfg</code>
+
* <code>[[/etc/nagios3/nagios.cfg]]</code>
 +
* <code>[[/etc/nagios4/nagios.cfg]]</code>
  
 +
== [[Nagios logs|Logs]] ==
 +
* <code>[[/var/log/nagios3/nagios.log]]</code>
 +
* [[/var/log/nagios3/archives/]]
  
 +
== Related terms ==
 +
* [[Nagios Remote Plugin Executor (NRPE)]]
 +
* [[Check MK]]
  
 
== Activities ==
 
== Activities ==
# Read Nagios core changelog: https://github.com/NagiosEnterprises/nagioscore/blob/master/Changelog
+
* Review [[check_http]] plugin options
# Install Nagios Core using docker: <code>docker pull jasonrivers/nagios && docker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest</code> and connect to <code>http://localhost:8080</code> using <code>nagiosadmin / nagios</code> or <code>apt install nagios3</code>
+
* Review more than 60 plugins installed by Nagios: <code>/usr/lib/nagios/plugins/check_*</code>
 
+
* Read StackExchange questions about Nagios: https://serverfault.com/questions/tagged/nagios?tab=Votes
 
+
* Read Nagios core changelog: https://github.com/NagiosEnterprises/nagioscore/blob/master/Changelog
# Run a manual test: /usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80
+
* Install Nagios Core using docker: <code>docker pull jasonrivers/nagios && docker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest</code> and connect to <code>http://localhost:8080</code> using <code>nagiosadmin / nagios</code> or <code>apt install nagios3</code>
:<code>TCP OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000</code>
+
* Run a manual test: <code>/usr/lib/nagios/plugins/[[check_tcp]] -H 127.0.0.1 -p 80</code>
 +
:<code>[[TCP]] OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000</code>
  
 
== See also ==
 
== See also ==
 +
* {{Nagios}}
 
* {{monitoring software}}
 
* {{monitoring software}}
 
* [[Nagios Remote Plugin Executor]]
 
* [[Nagios Remote Plugin Executor]]
 
* [[Nagios Cross-Platform Agent]] ([[NCPA]])
 
* [[Nagios Cross-Platform Agent]] ([[NCPA]])
 +
* {{Rpcbind}}
  
 
[[Category:Information technology]]
 
[[Category:Linux]]
 
[[Category:Server administration]]
 
 
[[Category:Monitoring]]
 
[[Category:Monitoring]]

Latest revision as of 14:04, 16 March 2024

Nagios (2002) is an application that monitors systems, networks and infrastructure with alerting capabilities. There is different Nagios agents for collection data are available[1].

Features[edit]

Some features of Nagios Core include:[2]

  • Monitoring of network services (SMTP, POP3, HTTP, NNTP, PING, MariaDB, etc.)
  • Monitoring of host resources (processor load, disk usage, etc.)
  • Simple plugin design that allows users to easily develop their own service checks
  • Parallelized service checks
  • Ability to define network host hierarchy using "parent" hosts, allowing detection of and distinction between hosts that are down and those that are unreachable
  • Alerts or contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method)
  • Ability to define event handlers to be run during service or host events for proactive problem resolution
  • Automatic log file rotation
  • Support for implementing redundant monitoring hosts
  • Optional web interface for viewing current network status, notification and problem history, log file, etc.

Installation[edit]

Binaries:

Configuration file[edit]

Logs[edit]

Related terms[edit]

Activities[edit]

TCP OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000

See also[edit]

  • https://en.wikipedia.org/wiki/Nagios#Nagios_agents
  • https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/about.html#whatis
  • Advertising: