Migrate from RHEL7 to RHEL8 TEST system
Posted: Tue Nov 07, 2023 8:29 am
I have built a new system with RHEL8 installed 5.11.2 (since this is what my old system was, but after a dnf update it updated Nagiosxi to 5.11.3. Nagios look fine so I did a backup of PROD and copy'd the backup file over to TEST system to run the restore(restore_xi-sh 1699286699.tar.gz). That went good other then saying to download and run the restore_repair.sh script since it was a RHEL7 backup and restore server was RHEL8. I did run the restore_repair.sh and everything went fine. But my issue is that the version is saying 5.11.2 and when I try to upgrade it says Nothing to do.
If I run a dnf list installed |grep nagios ~ it comes back with this. Looks correct to me.
nagios-repo.noarch 8-1.el8 @System
nagiosxi.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-mrtg.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagioscore.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagiosplugins.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagvis.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-ndoutils.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nrds.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nrpe.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nsca.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nxti.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-pnp.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-shellinabox.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-wkhtmltox.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-wmic.x86_64 5.11.3-1.el8 @nagios-base
Could it just be that the file /usr/local/nagiosxi/var/xiversion is not updated to 5.11.3?
I see the /usr/local/nagiosxi/var/xiversion has the same time stamp is what is on PROD so I assume the restore pulls that file with the backup/restore.
Does anyone know what I should do?
If I run a dnf list installed |grep nagios ~ it comes back with this. Looks correct to me.
nagios-repo.noarch 8-1.el8 @System
nagiosxi.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-mrtg.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagioscore.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagiosplugins.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nagvis.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-ndoutils.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nrds.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nrpe.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nsca.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-nxti.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-pnp.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-shellinabox.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-wkhtmltox.x86_64 5.11.3-1.el8 @nagios-base
nagiosxi-wmic.x86_64 5.11.3-1.el8 @nagios-base
Could it just be that the file /usr/local/nagiosxi/var/xiversion is not updated to 5.11.3?
I see the /usr/local/nagiosxi/var/xiversion has the same time stamp is what is on PROD so I assume the restore pulls that file with the backup/restore.
Does anyone know what I should do?