Comments on: How to Install Icinga2 Monitoring Tool on Ubuntu 20.04/22.04 https://www.tecmint.com/install-icinga-monitoring-ubuntu/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 12 Jan 2024 18:40:13 +0000 hourly 1 By: Daniel Craig https://www.tecmint.com/install-icinga-monitoring-ubuntu/comment-page-1/#comment-2125319 Fri, 12 Jan 2024 18:40:13 +0000 http://www.tecmint.com/?p=2783#comment-2125319 @Neil Pittaway mentioned PHP 8.1 with Ubuntu 22.04 doesn’t work, so this command will not work.

sudo nano /etc/php/8.1/apache2/php.ini   [On Ubuntu 22.04]

You may need to edit and mention to use older PHP version with latest Ubuntu.

After generating token, error occurs on /icingaweb2/setup on page Requirements

Deprecated: Return type of Icinga\Application\Libraries::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Icinga/Application/Libraries.php on line 20

known bug : https://github.com/Icinga/icingaweb2/issues/4837

Also we get a warning that apt-key is going to be deprecated so as a workaround used this.

https://www.digitalocean.com/community/tutorials/how-to-handle-apt-key-and-add-apt-repository-deprecation-using-gpg-to-add-external-repositories-on-ubuntu-22-04

curl -L https://packages.icinga.com/icinga.key | sudo gpg --dearmor -o /usr/share/keyrings/icinga2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1723  100  1723    0     0   9429      0 --:--:-- --:--:-- --:--:--  9467
]]>
By: Ravi Saive https://www.tecmint.com/install-icinga-monitoring-ubuntu/comment-page-1/#comment-2114199 Wed, 13 Dec 2023 03:06:48 +0000 http://www.tecmint.com/?p=2783#comment-2114199 In reply to VISHAVJEET Rohilla.

@Vishavjeet,

To fix this issue, make sure that the LDAP module and other required modules are installed on your system.

You can use your package manager to verify their status.

dpkg -l | grep slapd    # For Debian/Ubuntu
rpm -qa | grep openldap # For Red Hat/CentOS
]]>
By: VISHAVJEET Rohilla https://www.tecmint.com/install-icinga-monitoring-ubuntu/comment-page-1/#comment-2113813 Tue, 12 Dec 2023 07:32:34 +0000 http://www.tecmint.com/?p=2783#comment-2113813 Hello, the LDAP module and some other modules are missing.

What should I do? Please help.

]]>
By: keith https://www.tecmint.com/install-icinga-monitoring-ubuntu/comment-page-1/#comment-2019846 Sun, 28 May 2023 13:55:51 +0000 http://www.tecmint.com/?p=2783#comment-2019846 Why would you install php-pgsql?

]]>
By: Ravi Saive https://www.tecmint.com/install-icinga-monitoring-ubuntu/comment-page-1/#comment-1983323 Tue, 14 Mar 2023 05:09:02 +0000 http://www.tecmint.com/?p=2783#comment-1983323 In reply to Neil Pittaway.

@Neil,

I have updated the article…

Thanks

]]>