Nagios is a popular open-source monitoring system.
Nagios keeps an inventory of your entire IT infrastructure and ensures your networks, servers, applications, services, and processes are up and running. In case of failure or suboptimal performance, Nagios will send notification alerts via various methods.
This article explains how to install Nagios on Ubuntu 20.04.
Nagios 4 is available in the Ubuntu software repository. Installation is pretty straightforward, just run the following commands as a user with sudo privileges :
sudo apt update
sudo apt install nagios4 nagios-plugins-contrib nagios-nrpe-plugin
The command above will install a bunch of packages, including Nagios Core, Nagios Plugins, and Apache.
The Apache configuration file that ships with Nagios depend on the mod_authz_groupfile
and mod_auth_digest
modules, which are not enabled by default. mod_authz_groupfile
module is used to allow or deny access to authenticated by group membership, and mod_authz_groupfile
enables the MD5 digest authentication.
#ubuntu #nagios #ubuntu 20.04