Page 1 of 2

NagiosXI upgrade

Posted: Fri Dec 04, 2020 1:23 am
by mejokj
Hello,

Previously we have upgrade the NagiosXI and it cause check to happening slow due to ndo issue and we have reverted the version to old one.

Now we are planning again for upgrade, Is the ndo issue has been resolved?

https://support.nagios.com/forum/viewto ... e&start=10

Re: NagiosXI upgrade

Posted: Fri Dec 04, 2020 1:43 pm
by benjaminsmith
HI,
Now we are planning again for upgrade, Is the ndo issue has been resolved?
The most recent version, 5.7.5, was a security release, updates to ndo will be included in 5.8 (coming very soon).

However, you can still upgrade to 5.7.5 as it will not by upgrade ndo if you have previously downgraded.

Let us know if you have any other questions.

Benjamin

Re: NagiosXI upgrade

Posted: Mon Dec 07, 2020 5:18 am
by inversecow
Ahoy folks,

Apologies for the slight divergence, but was curious to know more on this matter.

My instances also suffered various issues in past attempts going from 5.6.x to 5.7.x (some of which were due to NDO3 not handling the larger of my XI instances).
This covered attempts on 5.7.[1-3] (all roll-backs to snapshot in the end).
We had hopes of finally getting off of NDO2 (which causes problems at our scale, due to bursting events smashing the kernel message buffer), before the holiday season sets in (latest attempt booked for PROD this Tuesday night).
Running NDO2 on 5.7.x series is also not something we are willing to run in PROD.

Based on the below statement, I am wondering if it is "worth it" re-attempting on 5.7.5 (given the note of only security fixes)?
Put another way, may we rely on NDO3 being fully stable at scale (at 5.7.5), or is the prudent move to wait for 5.8.x series?

Re: NagiosXI upgrade

Posted: Mon Dec 07, 2020 3:30 pm
by benjaminsmith
Hi @inversecow,

Looking over your requirements, I would recommend waiting until 5.8.x is released. We are testing this out right now as I type, and plan to have it out soon ( However I don't have any hard dates at the moment).

Appreciate your feedback! If you do need to upgrade to 5.7.5 and then downgrade, ndo2 is fully compatible with this version of XI.

Benjamin

Re: NagiosXI upgrade

Posted: Fri Jan 29, 2021 10:07 pm
by mejokj
Hello,
Is the bug is fixed on new version. Please let me know if it fixed, we are trying to upgrade

Re: NagiosXI upgrade

Posted: Mon Feb 01, 2021 4:12 pm
by benjaminsmith
Hi,

If you have already downgraded, the script will not force an upgrade to ndo3. In other words, you can safely upgrade to 5.8.1.

It's a simple procedure to upgrade/downgrade ndo and If you'd like to upgrade to ndo3 again, then run the following commands. However, I recommend deploying this on a test issue before changing the production server. If you did not have issues with kernel message queues using ndo2, it's ok to stay on this version.

Code: Select all

cd nagiosxi/subcomponents/ndo
./upgrade -f
Here is the changelog for the current version.
Drastically reduced startup time for some systems
Fixed occasional long shutdown times in Nagios Core
Fixed segmentation faults related to severed MySQL connections
Fixed issue with service display_name being set to the service description
Let me know if you have further questions.
--Benjamin

Re: NagiosXI upgrade

Posted: Mon Feb 01, 2021 11:41 pm
by mejokj
Hello,

Now we have Nagios XI 5.5.10 version, So if we upgrade it to the latest version 5.8, The check slowness issue shouldn't be there ?
In the change log I couldn't see these issue has been fixed. Kindly confirm weather the slowness check issue is fixed or not?

Re: NagiosXI upgrade

Posted: Tue Feb 02, 2021 3:37 pm
by benjaminsmith
Hi @mejokj,

I see, it looks like this system was rolled back to version 5.5.10. We've corrected the pending checks (slow updates) issue in 5.8.1. However, for systems with customized databases/environments, I would recommend downgrading to ndo2 if you experience any issues with Nagios Core stopping or check results not getting processed in the GUI as expected.

Re: NagiosXI upgrade

Posted: Tue Feb 02, 2021 8:57 pm
by mejokj
Hello,

So new version 5.8.1 is also using ndo3 right?
Can you share the steps to downgrade nd03 to ndo2 for the new version 5.8.1?

Re: NagiosXI upgrade

Posted: Wed Feb 03, 2021 10:26 am
by benjaminsmith
Hi,

Below are the downgrade instructions for a standard installation using a local database. If your database is offloaded, let me know and I can provide the additional steps for that configuration.


### STANDARD DOWNGRADE OF NDO3

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