we've been running the pre-built hyperv VM since we bought XI, which runs on centos6. Thats EOL this year and with XI 5.7.1 now supporting centos8, i'm in the process of migrating.
firstup, our centos6 XI install works well - on 5.7.1, every working and a backup is taken from the webUI.
Rebuild a new VM running centos 8 stream, minimal install, dnf update and follow the installation pdf with the install.sh script method which appeared to be sucessful. 5.7.1 XI WebUI is accessible and working as expected.
rsync the backup tar file between these 2 hosts, and perform a restore as per instructions. Below is the full output which sugests all is good. I am assuming the warning is just that and not the cause of the issue. I'm not aware we use any custom plugins, binaries or special httpd config (other than using a public cert instead of the default self-signed)
this is where i start to see issues, so i'll list out the issues i've found so far.# /usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/1591959402.tar.gz
WARNING: you are trying to restore a el6 backup on a el8 system
Compiled plugins and other binaries as well as httpd configurations
will NOT be restored.
You will need to re-download the Nagios XI tarball, and re-install
the subcomponents for this system. More info here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Are you sure you want to continue? [y/N] y
TS=1591962456
Extracting backup to /store/backups/nagiosxi/1591962456-restore...
In /store/backups/nagiosxi/1591962456-restore/1591959402...
Backup files look okay. Preparing to restore...
Shutting down services...
Restoring directories to /...
Restoring Nagios Core...
Restoring Nagios XI...
Restoring NRDP backups...
Restoring MRTG...
Restoring SNMP configuration files...
Restoring SNMP MIBs...
Restoring Nagvis backups...
Restoring nagios home dir...
Restoring MySQL databases...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
Restoring Nagios XI MySQL database...
mysql: [Warning] Using a password on the command line interface can be insecure.
Restarting database servers...
Restoring Apache cronjobs...
Restoring logrotate config files...
Skipping Apache config files restoration
===============
RESTORE COMPLETE
===============
- mysql has 2-3 processes at 100% CPU time. current load avg is 4.3 3.7 2.0.
- Admin > System Status is not showing CPU stats, but others stats appearing correctly
- admin > Monitoring Engine Status is not showing info in the Engine check stats, Engine perf or Engine event queue.
- While nagios email alerts appear to be working, i see no results (0 hosts & services) in any of the Quick View or Details screens, Maps is intermittent - for example minemap is empty but hypermap and network status map do at least show the hosts.
- Core Config Manager shows the expected host & services and appears fine.
it appears something is broken but i cant see what. since mysql is showing consistently high cpu time i'd say it's all related to a db issue.
SELinux is disabled by the install.sh script so its not that getting in the way.
any ideas how to fix?