Comments on How to Install Icinga 2 Monitoring Software on Ubuntu 20.04 LTS

Icinga 2 is a free and open source monitoring tool that can be used to monitor multiple servers or whole data centers from a single monitor system. In this tutorial, I show you how to install and configure the Icinga 2 monitoring tool using an Ubuntu 20.04 LTS server.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Dim

I'm running into depenecy errors;

The following packages have unmet dependencies: icinga2 : Depends: icinga2-bin (= 2.12.0-1.xenial) but it is not going to be installed

By: Hugo van der Kooij

It sems things have changed a bit. The MySQL server has an issue with accepting password as there is some obscure setting that requires a password complexity that does not match any random password generator. So the instalation aborts on icinga2-ido-mysql and I am unable to get that part configured. 

By: Hugo van der Kooij

Recent MySQL servers may enforce password that are not practical for this setup. Evenn 16 character passwords from Lastpass with all options enabled managed to fail.

So I disabled is with:

mysql -u root  -p

UNINSTALL COMPONENT 'file://component_validate_password';

By: Fahad Ahammed

Did i miss enabling command ?

By: bpari

In the "Monitoring IDO Resource" page I had to change localhost with 127.0.0.1 to validate the connection.

Thank you for the guide!

By: Filipe Wieland

Awesome manual... Very complete, and minucious... Just needed to change the version of the php to 7.4 on all products...

By: David S

Thanks for the guide, very clear and installed successfully first pass through.

By: Dennis

Nice article. I believe it works with PHP 7.4 as well. Also I had problems with the mysql ido connection. Checked the config file manually, there was rthe wrong password in there although I typed it correctly in the web interface. Also I set the host from localhost to 127.0.0.1.

the command interface for icinga does not work either because it is disabled by default and has to be activated first with icinga2 feature enable commandPing also does not from from icinga, chmod +s /bin/ping helps here.

By: sahil

Hi, do you have Procedure to install  for ubuntu 22.04?