NagiosXI upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

NagiosXI upgrade

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

Re: NagiosXI upgrade

Post 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?
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: NagiosXI upgrade

Post by mejokj »

Hello,
Is the bug is fixed on new version. Please let me know if it fixed, we are trying to upgrade
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: NagiosXI upgrade

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: NagiosXI upgrade

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI upgrade

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked