Nagios XI 5.7.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Nagios XI 5.7.2

Post by dbcummings »

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.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Nagios XI 5.7.2

Post by jbrunkow »

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.
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!
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Nagios XI 5.7.2

Post by dbcummings »

Bump
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Nagios XI 5.7.2

Post by dbcummings »

bump
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Nagios XI 5.7.2

Post by jbrunkow »

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!
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Nagios XI 5.7.2

Post by jbrunkow »

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:

Code: Select all

cd /tmp
wget https://repo.nagios.com/nagiosxi-offline/nagiosxi-5.7.2-2.el7.x86_64.tar.gz
Then run these commands as root on your XI server.

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
Please send us the entire output of these commands so that we can help you resolve these errors.
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!
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Nagios XI 5.7.2

Post by dbcummings »

I have pm'd you the results.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Nagios XI 5.7.2

Post by jbrunkow »

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.

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
Can you please run the following command on that system so we can see where that process is failing?

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!
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Nagios XI 5.7.2

Post by dbcummings »

I have no idea why, but it appears to have worked this time. I am PM'ing you results.
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Nagios XI 5.7.2

Post by dbcummings »

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