Frequent database connection error
Posted: Wed Apr 08, 2015 3:45 pm
I have a Nagios XI 2014R2.4 setup to monitor around 250 hosts and 1500 services. Everything works well but I get the following error multiple times a day. It disappears by itself after a while and then comes back later.
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support. Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh
I followed the instructions mentioned in the Repairing_The_Nagios_XI_Database.pdf document and I think truncating tables fixes the issue, but only temporarily.
Any suggestions on why this is reoccurring?
System info:
CentOS release 6.5
32 Bit
Manual install on Vmware virtual machine
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support. Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh
I followed the instructions mentioned in the Repairing_The_Nagios_XI_Database.pdf document and I think truncating tables fixes the issue, but only temporarily.
Any suggestions on why this is reoccurring?
System info:
CentOS release 6.5
32 Bit
Manual install on Vmware virtual machine