nagiosxi-5.8.5-1.el7 / ndo install fail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sigmainformatique
Posts: 74
Joined: Mon Apr 23, 2018 8:11 am

nagiosxi-5.8.5-1.el7 / ndo install fail

Post by sigmainformatique »

Hi all,

there is an issue with the subcomponents/ndo/post-install script called from rpminstall.
it needs to run db-mgmt.sh from the archive that has never been uncompressed.
possible patch:

Code: Select all

--- post-install.org	2021-08-13 11:00:13.183464903 +0200
+++ post-install	2021-08-13 11:04:50.286461804 +0200
@@ -28,6 +28,7 @@
 	# Install the database
 	# -- Apply some changes for newer MySQL restrictions if the ndo version isn't updated
 	(
+		tar -zxf "${pkgname}.tar.gz"
 		cd ./"$pkgname"/db
 		./db-mgmt.sh -u "$ndouser" -p "$ndopass" -h "$ndohost" -d nagios
 	)
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: nagiosxi-5.8.5-1.el7 / ndo install fail

Post by benjaminsmith »

Hi @sigmainformatique,

I passed along your patch to the development team, and they are looking into it. Thanks for bringing this to our attention.

Sounds like you got around it for now. Let us know if you need anything else.

--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!
sigmainformatique
Posts: 74
Joined: Mon Apr 23, 2018 8:11 am

Re: nagiosxi-5.8.5-1.el7 / ndo install fail

Post by sigmainformatique »

Hi @benjaminsmith,

Is there another way of posting patch rather than using this forum ?

Thanks,
Ronan.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: nagiosxi-5.8.5-1.el7 / ndo install fail

Post by benjaminsmith »

HI Ronan,

For anything in Nagiso XI, the forum would be the best place. However, if it's directly related to Nagios Core or any of our open source projects, then it would be best to open an issue on the repo site and a developer will respond.

https://github.com/NagiosEnterprises

--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!
Locked