Re: Nagios upgrade problems from 2014R1.2 to 5.3.4
Posted: Thu Dec 22, 2016 3:22 am
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
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.
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
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.