Nagios Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Nagios Upgrade

Post by RIDS_I2MP »

Hi Team,

While performing upgrade from Nagios XI 5.6.14 to 5.7.4 , we are getting stuck in upgrade steps and its exiting without proper upgrade.

Also, the Nagios XI license is getting removed & its reflecting as expired. Please check attached logs and screenshots and help us to fix it.

Error details:
/bin/install -c -m 774 -o nagios -g nagios src/ndo.so /usr/local/nagios/bin/ndo.so
Shared module ndo.so installed
/usr/local/nagios/etc/nagios.cfg configured to use NDO
UPGRADE: POST-UPGRADE: NDO post upgrade started...
2.1.2
Failed to stop ndo2db.service: Unit ndo2db.service not loaded.
]0;root@eu1papu002:/tmp/nagiosxiYou have mail in /var/spool/mail/root
[root@eu1papu002 nagiosxi]#
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Upgrade

Post by benjaminsmith »

HI,

Let's open up the configuration file for nagios and make sure the system is loading the new database broker module, ndo3.

Open up /usr/local/nagios/etc/nagios.cfg and make sure this line is commented:

Code: Select all

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

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
Next Run the following command to test if this server is using postgres for the nagiosxi database.

Code: Select all

grep mysql /usr/local/nagiosxi/html/config.inc.php | wc -l
If this outputs a number 2, then the error in the user interface looks like the following issue. Please follow the steps in the article and let me know if the issue is resolved. If not please send me your system profile. Thanks, Benjamin

Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
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