Page 1 of 1

nagiosxi-5.8.5-1.el7 / ndo install fail

Posted: Fri Aug 13, 2021 4:20 am
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
 	)

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

Posted: Fri Aug 13, 2021 2:13 pm
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

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

Posted: Mon Aug 16, 2021 1:55 am
by sigmainformatique
Hi @benjaminsmith,

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

Thanks,
Ronan.

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

Posted: Mon Aug 16, 2021 9:44 am
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