Attached is the screenshot of successful connection to the remote DB:
connection_to_db.JPG
To add to what was mentioned in the threads prior to this, the current setup for nagios is one in which the Nagios DB residing in the Nagios server is of type MariaDB v5.5 while the remote DB which consists of the Nagiosxi and Nagiosql DBs are of type MySQL 5.7. In the event that we would like to inload the remote DB prior to the version upgrade, can you kindly confirm if the below steps are the correct steps to inload the remote DB and proceed with the version upgrade? The reason as to why I am asking is because the only way i can see this working is by moving the remote back to local.
Also, In our environment we do have a proxy configured but what i don't understand is why the upgrade failed but we are able to access the remote DB. Apart from that, from the 3 configuration files below, I can see that the information on the remote DB is correct.
ndo2db.cfg, config.inc.php, settings.php
The I would like to try steps are:
1. Take a database dump of both the local (Nagios DB - MariaDB v5.5) and remote DB (Nagiosxi and Nagiosql DBs both are MySQL v5.7).
2. Upgrade local DB from MariaDB v5.5 to Maria 10.3 - This is to ensure compatibility between the 2 DBs before inloading the remote DB.
3. Take a database dump of the local DB (i.e. now in MariaDB v10.3)
4. Uninstall the local DB (i.e. MariaDB v10.3)
5. Install MySQL v5.7 locally (i.e. in Nagios Prod server). Which is identical to the current version of MySQL in the remote DB.
6. Create 3 new databases in Nagios Prod server i.e Nagios, Nagiosxi and Nagiosql databases.
7. Inload (i.e. restore the data) from the dumps taken in step 1 (for Nagiosxi and Nagiosql DBs) and 3 (for MariaDB v10.3) into the respective newly created DBs.
8. Reconfigure Nagios to connect to the newly created DBs from step 6.
9. Proceed with the upgrade of Nagios from v5.4.13 to 5.6.7.
My concern is, since NagiosXI came together with MariaDB by default, will there be any issues if we were to proceed with the above steps?
Thank You.
Best Regards,
Jason