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.