Hi all,
I am new here and up to that point I could always fix any issues by looking for hints in here. But now I am stuck myself.
Short overview:
- OS: Debian 12 Bookworm
- Icinga2: r2.14.0-1
- Icingaweb2: 2.11.4-2
- PHP: 8.2.7
A couple days ago I noticed that the Web UI showed some issues with the monitoring backend. I tried installing it again, didn’t work, so I dug deeper. I noticed that I had the statusdata feature enabled which became depracated. I disabled that feature and the icinga2 service is running again.
Only problem since I removed the monitoring-plugins and icingaweb2-module-monitoring beforehand, I reinstalled them and tried to enable the feature using
icingacli module enable monitoring
If I try this I get a lot of php errors like
PHP Deprecated: Creation of dynamic property Icinga\Clicommands\ModuleCommand::$trace is deprecated in /usr/share/php/Icinga/Cli/Command.php on line 61
Deprecated: Creation of dynamic property Icinga\Clicommands\ModuleCommand::$trace is deprecated in /usr/share/php/Icinga/Cli/Command.php on line 61
ERROR: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Application/Modules/Manager.php:253 with message: Cannot enable module “monitoring”. Module is not installed.
So now I am stuck here. How can I enable the monitoring again? Here are the packages I am currently running:
iicinga-director 1.10.2-1+debian11
icinga-director-daemon 1.10.2-1+debian11
icinga-director-php 1.10.2-1+debian11
icinga-director-web 1.10.2-1+debian11
icinga-php-common 1.0.0-1.buster
icinga-php-incubator 0.20.0-1+debian11
icinga-php-library 0.12.0-1+debian11
icinga-php-thirdparty 0.11.0-2.buster
icinga2 2.14.0-1+debian12
icinga2-bin 2.14.0-1+debian12
icinga2-common 2.14.0-1+debian12
icinga2-doc 2.14.0-1+debian12
icinga2-ido-mysql 2.14.0-1+debian12
icingacli 2.11.4-2
icingaweb2 2.11.4-2
icingaweb2-common 2.11.4-2
icingaweb2-module-doc 2.11.4-2
icingaweb2-module-monitoring 2.11.4-5+debian11
php-icinga 2.11.4-2
Am I missing something? Do you need further information on this?