XI presents a freezed status after upgrade from 5.6 to 5.7
Posted: Thu Nov 12, 2020 3:54 am
After having updated Nagios from 5.6.14 to 5.7.4, all was looking fine until I realized the alarms of hosts and services are not updated any more in XI GUI. I am presented by the last status before the update forever. In Nagios core, all is presented correctly. In addition, the notifications are sent out correct. However, XI GUI is outdated, what is quite dangerous.
After a long day of troubleshooting, I was able to find out, some more details:
Would be nice to hear your experiences with NDO-3 in the new Nagios version.
Thank you very much.
After a long day of troubleshooting, I was able to find out, some more details:
- The problem does not start directly after the upgrade. It starts after rebooting the whole server OS (CentOS 7) after the Nagios update.
- After each server reboot I find this entries in the nagios.log:
Code: Select all
[1605109792] NDO-3: NDO 3.0.4 (c) Copyright 2009-2020 Nagios - Nagios Core Development Team [1605109792] NDO-3: Unable to connect to mysql. Check your configuration [1605109792] NDO-3: NDO was not able to initialize the database (main context) and will not start.
- When performing just a after the server reboot, all is working fine again and in the log I can see NDO-3 is able to connect to the mysql DB without a problem
Code: Select all
/etc/init.d/nagios restart
- I have checked the startup of the MariaDB and compared the timestamps. The timestamp when MariaDB is reporting Started MariaDB database server. is always about 2 seconds later than NDO-3 is trying to connect.
Would be nice to hear your experiences with NDO-3 in the new Nagios version.
Thank you very much.