I had icinga 2.9.1/icingaweb2 v2.6.1/mysql 5.7 running on a CentOS 7.5.1804 VM. I had to migrate to a new CentOS 7.9.2009 VM and the default install is now icinga 2.14.1/icingaweb2 2.12.1/mariadb 10.3.14.
I copied my configuration files and my database from the old VM to the new VM.
I have icinga running and it is correctly monitoring hosts and sending out alerts
I have run the mysql_upgrade for the database and the scripts to upgrade the schema for icinga.
I installed
icingaweb2
icingaweb2-common
icingadb
icingadb-web
icingacli
and ran
icingacli setup token create
icinga version
icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.1-1)
Copyright (c) 2012-2024 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
System information:
Platform: CentOS Linux
Platform version: 7 (Core)
Kernel: Linux
Kernel version: 3.10.0-1160.42.2.el7.x86_64
Architecture: x86_64
Build information:
Compiler: GNU 11.2.1
Build host: runner-hh8q3bz2-project-575-concurrent-0
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
Application information:
General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2
Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var
Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
Web Browser:
Chrome Version 120.0.6099.217 (Official Build) (64-bit)
PHP Version:
php --version
PHP 5.4.16 (cli) (built: Apr 1 2020 04:07:17)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
The rh-php73-php-* packages are installed
/opt/rh/rh-php73/root/bin/php --version
PHP 7.3.33 (cli) (built: Jul 25 2022 11:32:44) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies
I have the httpd LogLevel set to debug but I am not seeing anything helpful in the logs except for messages like these
[12/Jan/2024:11:23:04 -0800] "GET /icingaweb2/application-state HTTP/1.1" 500 -
[12/Jan/2024:11:25:04 -0800] "GET /icingaweb2/application-state HTTP/1.1" 500 -
[12/Jan/2024:11:27:04 -0800] "GET /icingaweb2/application-state HTTP/1.1" 500 -
I have gone to the trouble of removing the icingaweb2 packages and re-installing them in case I made some type of configuration error.
The icingaweb2 database exists from the other VM. I am not sure if I should remove that database or not.
icinga2 has been running for a few days. I could wipe everything and start over. The loss of a few days of data won’t be a tragedy but I am not sure that that will help.
Any pointers or suggestions would be appreciated.