{"id":899,"date":"2018-10-12T17:58:05","date_gmt":"2018-10-12T14:58:05","guid":{"rendered":"http:\/\/kifarunix.com\/?p=899"},"modified":"2024-03-11T20:08:33","modified_gmt":"2024-03-11T17:08:33","slug":"how-to-install-icinga-2-and-icinga-web-2-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-icinga-2-and-icinga-web-2-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Icinga 2 and Icinga Web 2 on Ubuntu 18.04 LTS"},"content":{"rendered":"\n

In this tutorial, we are going to learn how to install Icinga 2 and Icinga Web 2 on Ubuntu 18.04 LTS. Icinga<\/a> 2 is an open source monitoring system which checks the availability of your network resources (CPU load, uptime, free disk space, memory consumption), notifies users of outages and generates performance data for reporting. It is scalable and therefore it can be used to monitor large, complex environments across multiple locations.<\/p>\n\n\n\n

It has a lightweight and extensible web interface called Icinga Web 2 that enables you to visualize and keep an eye on your environment.<\/span><\/p>\n\n\n\n

Installing Icinga 2 and Icinga Web 2 on Ubuntu<\/h2>\n\n\n\n

Installing Icinga Package Repositories<\/h3>\n\n\n\n

You need to install Icinga package repository;<\/p>\n\n\n\n

apt -y install apt-transport-https<\/code><\/pre>\n\n\n\n
wget -O - https:\/\/packages.icinga.com\/icinga.key | apt-key add -<\/code><\/pre>\n\n\n\n
echo \"deb http:\/\/packages.icinga.com\/ubuntu icinga-bionic main\" > \/etc\/apt\/sources.list.d\/icinga2.list\necho \"deb-src http:\/\/packages.icinga.com\/ubuntu icinga-bionic main\" >> \/etc\/apt\/sources.list.d\/icinga2.list<\/code><\/pre>\n\n\n\n

Next, run system update.<\/p>\n\n\n\n

apt update<\/code><\/pre>\n\n\n\n

Install Icinga 2 on Ubuntu 18.04 LTS<\/h2>\n\n\n\n

Now that the repositories are ready, run the command below to install Icinga 2.<\/p>\n\n\n\n

apt install icinga2 -y<\/code><\/pre>\n\n\n\n

The basic installation of icinga 2 enables the following features;<\/p>\n\n\n\n