Page 1 of 1

Does NDO3 is now ok?

Posted: Mon Jan 18, 2021 8:05 pm
by steph007
Hi,

Few weeks ago I raised a thread for a problem I have after update to Nagios XI 5.7. The post was named "Lost all what was in Scheduled Downtime after upgrade" but it's now closed without has been fixed. I have roolback to NDO2 to avoid any problem.
Now I'm wondering if I can upgrade to 5.8 and hoping be good with NDO3.
Should I upgrade?

Re: Does NDO3 is now ok?

Posted: Tue Jan 19, 2021 5:52 pm
by benjaminsmith
Hi @steph007,

If you've downgraded ndo on your system, the upgrade script will not force an upgrade to ndo3. In other words, you can still upgrade now and decide later if you want to upgrade again to ndo3.

If you're running Cent 6, I would recommend leaving it on ndo2db until you migrate to a Cent 7 or 8.

Let me know how you'd like to move forward and I can provide instructions on upgrading to ndo3 when you are ready.

--Benjamin

Reference:
The full 5.8 changelog
https://www.nagios.com/downloads/nagios-xi/change-log/

Re: Does NDO3 is now ok?

Posted: Thu Jan 21, 2021 8:26 am
by steph007
Hi,

I have recently upgrade to centos 7.
When I will upgrade to 5.8 does it will keep my actual NDO2 or it will change it to NDO3?

Re: Does NDO3 is now ok?

Posted: Thu Jan 21, 2021 8:28 am
by steph007
sorry, I just notice what you wrote in your post "the upgrade script will not force an upgrade to ndo3"

Re: Does NDO3 is now ok?

Posted: Thu Jan 21, 2021 5:31 pm
by benjaminsmith
HI
sorry, I just notice what you wrote in your post "the upgrade script will not force an upgrade to ndo3"
Not a problem. Did you have any other questions or may close this topic?

--Benjamin

Re: Does NDO3 is now ok?

Posted: Fri Jan 22, 2021 10:07 am
by steph007
Yes, question, since I'm at centos7 now, should I use NDO3 after upgraded to 5.8? Does I have advantage to go at NDO3?

Re: Does NDO3 is now ok?

Posted: Fri Jan 22, 2021 4:26 pm
by benjaminsmith
Hi @steph007,

The main advantage of NDO3 is that it does not run as a separate process and does not use inter-process communication (kernel message queues) for improved performance.

If you had problems with ndo3 during your upgrade, and are not having any issues with the queues not getting processed, it's certainly ok to stay on ndo2.

It's quite easy to upgrade and downgrade ndo, so if you'd like to upgrade, run the following (after downloading and extraction the latest version).

Code: Select all

cd nagiosxi/subcomponents/ndo
./upgrade -f
Then restart Nagios Core.

Code: Select all

systemctl restart nagios
To downgrade.

Code: Select all

systemctl stop nagios
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/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

Code: Select all

systemctl start nagios

Re: Does NDO3 is now ok?

Posted: Tue Jan 26, 2021 11:52 am
by steph007
Thanks, you can close the post

Re: Does NDO3 is now ok?

Posted: Tue Jan 26, 2021 2:45 pm
by benjaminsmith
Thanks, you can close the post
Your welcome!