How To Install Icinga on CentOS 8

Install Icinga on CentOS 8

In this tutorial we will show you how to install Icinga on CentOS 8. For those of you who didn’t know, Icinga 2 is an open source network monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. Its Scalable and extensible, Icinga2 can monitor large, complex environments across multiple locations.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Icinga 2 on a CentOS 8 server.

Install Icinga on CentOS 8

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Icinga on CentOS.

After addition of EPEL repository, add Icinga 2 repository to your system:

Import GPG Key:

Next, Update yum cache:

Now run the Icinga 2 Installation command as shown below:

Enable Icinga 2 required modules:

Step 3. Installing MariaDB and Configure Database Icinga.

Install MariaDB database server on your CentOS 8:

Activate the mariadb service using the command below:

Once the service is started, run the command mysql_secure_installation to harden MariaDB database server security.

Then, create a database for Icinga 2:

Import Icinga 2 Database:

Next, we configure Database access:

Uncomment the lines and set access credentials:

Then start and enable icinga2 service:

Confirm service status:

Congratulation’s! You have successfully installed Icinga 2. Thanks for using this tutorial for installing Icinga 2 network monitoring on CentOS systems. For additional help or useful information, we recommend you to check the official Icinga website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!