Page 1 of 1

Nagios XI Upgrade from 2014R2.7 to 5-2.5

Posted: Tue Feb 23, 2016 5:36 pm
by griffite
Hi there,

I am trying to update my Nagios XI server from 2014R2.7 to 5-2.5
It is having issues when trying to do the online update and gets to this point and is unable to connect.

Image

I wanted to then do an offline install but following http://repo.nagios.com/#offline I see no 5-2.5 tar.gz file

To try work around the online installer, I manually downloaded the wmicinstall.py file and placed it in /usr/local/nagiosxi/html/includes/configwizards/windowswmi/ but that did not fix the issue.

I then looked in the install.sh file in that directory and at the end it says

Image

Which leads me to believe I can manually place the .py file somewhere for the upgrade to work but I am unsure where.

I am very new to both linux and Nagios so there may be a simple fix.

Thank you for your assistance. Let me know if you need further information.

Re: Nagios XI Upgrade from 2014R2.7 to 5-2.5

Posted: Wed Feb 24, 2016 10:05 am
by lmiltchev
I am trying to update my Nagios XI server from 2014R2.7 to 5-2.5
It is having issues when trying to do the online update and gets to this point and is unable to connect.
Let's get some more information. Was the Nagios XI 2014R2.7 a "regular" or an "offline" install? Are you currently in an offline environment? Proxy?

Re: Nagios XI Upgrade from 2014R2.7 to 5-2.5

Posted: Wed Feb 24, 2016 6:05 pm
by griffite
lmiltchev wrote:
I am trying to update my Nagios XI server from 2014R2.7 to 5-2.5
It is having issues when trying to do the online update and gets to this point and is unable to connect.
Let's get some more information. Was the Nagios XI 2014R2.7 a "regular" or an "offline" install? Are you currently in an offline environment? Proxy?
I am unsure about the 2014R install but I assume offline.
The person who did it has left this place of work and I have sort of just been thrown in the deep end to figure out everything.
I believe it is currently in an "offline" environment..monitoring services + hosts would still work wouldn't it? The server just cannot talk to outside.
Is there a way to check Proxy settings on Nagios XI?

Edit:

Further after following directions at https://support.nagios.com/wiki/index.p ... th_Proxies

I have checked in /etc/yum.conf and there is a proxy=http://someproxyserver:port/ string
I have checked in /etc/wgetrc and there is NO http_proxy=http://myname:mypass@someproxyserver:port/ string
Could that be the issue?

Edit:
I updated /etc/wgetrc with the proxy information and ran the ./upgrade command again from the extracted tarball but got the same result.

Connection timed out when trying to connect to assets.nagios.com

Edit:

I have fixed this part of the install
The details I was updating /etc/wgetrc were incorrect.
I also have to ensure I updated the https_proxy= string as assests.nagios.... is a https site.

When the install finished it gave the following message:

Image

Is this a problem?
Also following the video from library.nagios.com it says when I log out and back in to the nagios server it should prompt to "Finish Upgrade"
I do not get this message.
I get a message saying there is an update available, though down the bottom it says the version is now 5.2.5

Re: Nagios XI Upgrade from 2014R2.7 to 5-2.5

Posted: Thu Feb 25, 2016 9:44 am
by lmiltchev
When you modified the "/etc/wgetrc"", did you exclude localhost from proxing? Example:

Code: Select all

no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying
If the version shown on the bottom of the page is 5.2.5, you must have upgraded successfully. Does your Nagios XI instance function properly?

Can you apply configuration? Do you see the "NAGIOSQL LOGIN FAILED!" error when you run the following command?

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh