Nagios xi 5.7.2
-
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Nagios xi 5.7.2
We upgraded 5.7.1 to 5.7.2 using the offline installer. However, the version number is still 5.7.1 in the Nagios xi interface. And there were some errors that popped up during the upgrade. I can PM the errors to whoever from Nagios picks up this post.
-
- Posts: 441
- Joined: Fri Mar 13, 2020 10:45 am
Re: Nagios xi 5.7.2
You can send the errors to me!
It never hurts to send ( PM ) us a profile either! We can find lots of information about your system in there. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.

It never hurts to send ( PM ) us a profile either! We can find lots of information about your system in there. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 441
- Joined: Fri Mar 13, 2020 10:45 am
Re: Nagios xi 5.7.2
Please send us the upgrade.log, so that we can determine what the problem might be.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 441
- Joined: Fri Mar 13, 2020 10:45 am
Re: Nagios xi 5.7.2
It appears that a subscript of RPM failed to install, but didn't report it to the package manager. We need to run a few commands to determine exactly what went wrong.
Download this install file tmp directory of your xi server:
Then run these commands as root on your xi server.
Please send us the entire output of these commands so that we can help you resolve these errors.
Download this install file tmp directory of your xi server:
Code: Select all
cd /tmp
wget https://repo.nagios.com/nagiosxi-offline/nagiosxi-5.7.2-2.el7.x86_64.tar.gz
Code: Select all
cd /tmp
rm -rf nagiosxi
tar zxf nagiosxi-5.7.2-2.el7.x86_64.tar.gz
mv nagiosxi nag
cd nag
rpm2cpio nagiosxi-5.7.2-2.el7.x86_64.rpm | cpio -idmv
cd tmp/nagiosxi
./rpmupgrade
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Nagios xi 5.7.2
I have pm'd you the results.
-
- Posts: 441
- Joined: Fri Mar 13, 2020 10:45 am
Re: Nagios xi 5.7.2
After examining the output of those commands, it seems that it is the db-mgmt.sh of your upgrade that is failing.
The upgrade scripts checks for the existence of a database to determine whether it should perform an upgrade or install. It must not be detecting a database, because your logs indicate it is trying to perform an install.
Can you please run the following command on that system so we can see where that process is failing?
The upgrade scripts checks for the existence of a database to determine whether it should perform an upgrade or install. It must not be detecting a database, because your logs indicate it is trying to perform an install.
Code: Select all
# check if db is already set up
if [ $(check_database_installed) -eq 0 ]; then
# ..and if it's been populated already
if [ $(check_database_populated) -eq 0 ]; then
upgrade=TRUE
install=FALSE
fi
fi
Code: Select all
bash -x rpmupgrade
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Nagios xi 5.7.2
I have no idea why, but it appears to have worked this time. I am PM'ing you results.
-
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Nagios xi 5.7.2
Well, it worked in that the version in the interface is updated to 5.7.2.
However, neither the host status check or the service checks are running. I attempted to force them, but they don't update.
However, neither the host status check or the service checks are running. I attempted to force them, but they don't update.