Page 2 of 2

Re: Nagios Portal Issue

Posted: Mon Mar 15, 2021 11:03 am
by benjaminsmith
Hi,

Since you've upgraded to 5.8.2, the backend database is running ndo3. However, you are having issues with the monitoring engine stopping or crashing and/or check results not getting processed in the GUI. I would recommend changing the backend database program back to ndo2bd. Here are the instructions for an offloaded database.

DOWNGRADE NDO WITH OFFLOADED DB

Code: Select all

service nagios stop
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
Offloaded DB Changes
(If you have an offloaded DB you'll need to do these things:)
1. Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
2. Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
3. Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>

Then compile and install the ndo2db service.

Code: Select all

cd /tmp/nagiosxi/subcomponents/ndoutils
./install
chkconfig ndo2db on
service ndo2db start
Make sure to take a full backup before making any changes.

--Benjamin

Re: Nagios Portal Issue

Posted: Wed Mar 17, 2021 1:49 am
by mejokj
Hi Benjamin,

Could you confirm what will happen to the historic data if we migrate/downgrade the backend database program back to ndo2db?

Thanks,

Re: Nagios Portal Issue

Posted: Wed Mar 17, 2021 4:52 pm
by vtrac
Hi,
Ben is out the rest of the week.

To answer your question, ndo2db is just a daemon (utility) used to process and store info into MySQL database.

Your historic data will NOT change!!


Regards,
Vinh

Re: Nagios Portal Issue

Posted: Fri Mar 26, 2021 5:40 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you!