A database connection error has been detected

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
banjarab
Posts: 2
Joined: Fri Jan 23, 2015 2:53 pm

A database connection error has been detected

Post by banjarab »

Hello,
There has been a problem with our Nagios that states "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"

Running database repair did not fix the issue. Please suggest.

Regards,
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: A database connection error has been detected

Post by tgriep »

Take a look at this Knowledge Base article for ways to fix the issues you are having. I would guess that the postgress database needs vacuuming and that procedure is near the bottom of the page.
https://support.nagios.com/kb/article.php?id=25
Take a look at it and if you have any questions, post back here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked