Nagios upgrade problems from 2014R1.2 to 5.3.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
monit_burb
Posts: 52
Joined: Fri Sep 23, 2016 3:00 am

Re: Nagios upgrade problems from 2014R1.2 to 5.3.4

Post by monit_burb »

Hi,

I already did as the manual suggested and copied the create TABLE from the installation file /tmp/nagiosxi/nagiosxi/nagiosxi-db/nagiosxi_db.sql
Now with the ALTER TABLE you mention and modifying the max_allowed_packet on mysql the import went fine and it seems all is working OK on nagiosxi :D :D

Now only remains to decide the plan for do all of this on the Production environment.

After making that work I decided to have a little bit more fun and tried to migrate all the nagios database to a MAriaDB-Galera cluster we have meaning I had to convert all tables from MyISAM to Innodb. I'm just going to say that even though I didn't have any kind of problem doing the migration, the performance afterwards is awful. The home pages takes arround 30 secs to load and trying to access the services section on core config manager takes about 1 minute. I guess could try some performance improvements on the DDBBs but as I'm sure this kind of setup won't be supported by Nagios I'm just going to pass.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios upgrade problems from 2014R1.2 to 5.3.4

Post by avandemore »

Yes on both. There are very likely improvements you can make to speed up a clustered environment and yes that is not in scope of support.
Previous Nagios employee
monit_burb
Posts: 52
Joined: Fri Sep 23, 2016 3:00 am

Re: Nagios upgrade problems from 2014R1.2 to 5.3.4

Post by monit_burb »

HI,

I was trying to install nagiosxi 2014R1.2 on a fresh centos 7 but apparently is not supported. Is there a workaround for this? My initial idea was migrate my production Nagiosxi that is centos 6 running 2014R1.2 to a new centos 7 server and upgrade then to 5.3.4. If not I guess I have to use the my nagios test server as a middle server for the whole process as I don't want to touch my production environment.

Code: Select all

Configuring Yum...
el7 is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead.
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './0-yum'
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios upgrade problems from 2014R1.2 to 5.3.4

Post by avandemore »

No other than walking through the script and addressing each failure, some of which may be very time intensive.

You can do it from a CentOS 6 system. XI backup/restore procedure is relatively agnostic about OS and OS version, it's more picky about XI version.
Previous Nagios employee
Locked