Saturday, April 20, 2024
HomeLinuxHow to install Icinga server on Ubuntu/debian

How to install Icinga server on Ubuntu/debian

Icinga is a popular open source monitoring system that checks hosts and services, and notifies you of their statuses. Icinga is a fork of Nagios, so they are compatible and share many similarities, and it has been gaining popularity due to a more agile development cycle when compared to Nagios.

Icinga keeps watch over networks and any conceivable network resource notifies the user of errors and recoveries and generates performance data for reporting. Scalable and extensible, Icinga can monitor complex, large environments across dispersed locations. For more refer Icinga.org

Step1: Add a Repository

Add repository link to /etc/apt/sources.list file

# vim /etc/apt/sources.list

deb http://ppa.launchpad.net/formorer/icinga/ubuntu xenial main

deb-src http://ppa.launchpad.net/formorer/icinga/ubuntu xenial main

# apt-get update

Step2: Install icinga

# apt-get install icinga icinga-doc icinga-idoutils mysql-server libdbd-mysql mysql-client

Once installation done start the icinga service,

# service icinga start

To Check the status,

# service icinga status

Step3: Start apache2 and mysql

# service apache2 restart

# service mysql restart

Step4: Accessing the Icinga User Interface

Go to http://yourhost/icinga, and log in using the icingaadmin login that you set up during the Icinga installation.

You should see that Icinga is monitoring one host, localhost (your Icinga server), and seven services, like this:

Icinga

The top row shows that the single monitored host is “Up”, and the bottom row shows that there are seven “OK” monitored services.

If the status of localhost is “Down”, you might need to change the permissions of your ping command. Run the following command to allow the nagios user to use the ping command:

# chmod u+s `which ping`

Let’s add more hosts and services to be monitored!

RELATED ARTICLES
- Advertisment -

Most Popular

Recent Comments