Upgrade 5.6.7 to 5.7.5 Importing into the CCM failed!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Upgrade 5.6.7 to 5.7.5 Importing into the CCM failed!

Post by TBT »

We've rolled back and ran the upgrade again on two test systems. The issues appear to have been resolved, including the import into CCM error we initially experienced.

Successfully upgrading XI 5.6.7 to 5.7.5 may be attributed to the following three changes.

1. CentOS 6.10 Repo was switched to Vault prior to upgrade due to EOL 2020-11-30.
2. Applied the DB updates which occurred prior to 5.6.7.
3. Adjusting the STRICT_TRANS_TABLES setting.


This was a bit of a setback in regards to the project timeline, so I've decided not to proceed with upgrading XI prior to the holidays and resume January 2021.

I anticipate other issues will be discovered while attempting upgrades to our larger XI production instances. So, I'd like your advice on which of the following upgrade paths should be taken in an effort to Upgrade XI and switch off CentOS 6 to Debian 10.

Option 1: On current production running CentOS 6.10 upgrade XI 5.6.7 to 5.7.5 or 5.8 (if available), then migrate XI over to new Debian 10 servers?
Comment: Less lint from the older XI installations will carry over to new servers.

Option 2: Build new Debian 10 servers with XI 5.6.7, migrate XI 5.6.7 over as-is, then upgrade to XI 5.8?
Comment: Debian 10 will satisfy XI 5.8 dependencies better.


Also, what is the best way to confirm NDO3 is currently in use?


Thank you for your assistance,
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Upgrade 5.6.7 to 5.7.5 Importing into the CCM failed!

Post by ssax »

I'm glad you got them upgraded.

I would do option 1 for the exact reason you posted (less carryover) but either way is valid.

To confirm if NDO3 is being used you would look at your /usr/local/nagios/etc/nagios.cfg and if you see this uncommented you're using NDO3:

Code: Select all

broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
If you have this uncommented you're using NDO2DB:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Locked