Page 1 of 1

Upgrading Nagios XI 2014R2.7 to 5.2.2 in an Air Gap network

Posted: Thu Nov 19, 2015 10:59 am
by thur686
Hello,

I'm trying to upgrade a Nagios XI 2014R2.7 system to 5.2.2 in an Air Gapped network.

The Nagios XI 2014R2.7 system was build from an OVF template downloaded from Nagios.

This Nagios XI 2014R2.7 system has NO CONNECTIVITY TO THE INTERNET. Knowing this I did not try to upgrade via the web UI. I downloaded xi-5.2.2.tar.gz from Nagios, copied it to the system and followed the instructions on how to upgrade Nagios XI using the PDF provided.

After typing ./upgrade the installer immediately started echoing messages to the terminal about timeouts trying to reach mirrors. After 20 minutes of timeout messages I rebooted the system to cancel the upgrade.

Here is a snippet from the upgrade.log

Code: Select all

Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: ^[[60G[^[[0;32m  OK  ^[[0;39m]
Starting httpd: ^[[60G[^[[0;32m  OK  ^[[0;39m]
Checking required prereqs...
Please wait...

OLD VERSION: 416
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
12: Timeout on https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge error was
12: Timeout on http://mirrorlist.repoforge.org/el6/mirrors-rpmforge: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock: (28, 'connect() timed out!')
 * base: centos.arvixe.com
 * epel: dl.fedoraproject.org
 * extras: bay.uchicago.edu
 * rpmforge: apt.sw.be
 * updates: centos.escapemg.com
This Nagios system is located in a DMZ with very limited network access with no way to reach any of those servers on the internet. Is there another way to upgrade Nagios XI systems in isolated environments?

Re: Upgrading Nagios XI 2014R2.7 to 5.2.2 in an Air Gap netw

Posted: Thu Nov 19, 2015 11:44 am
by hsmith
Check out the repos at http://repo.nagios.com. We have offline tarballs. I do have to point out 5.2.2 is not built yet, just 5.2.0.

Re: Upgrading Nagios XI 2014R2.7 to 5.2.2 in an Air Gap netw

Posted: Thu Nov 19, 2015 12:22 pm
by thur686
Thanks hsmith. I see that the xi-5.2.2 tar is not yet available offline.

Re: Upgrading Nagios XI 2014R2.7 to 5.2.2 in an Air Gap netw

Posted: Thu Nov 19, 2015 2:27 pm
by lmiltchev
Thanks hsmith. I see that the xi-5.2.2 tar is not yet available offline.
Is it all right if we lock this topic?

Re: Upgrading Nagios XI 2014R2.7 to 5.2.2 in an Air Gap netw

Posted: Wed Nov 25, 2015 10:42 am
by thur686
Yes this can be closed.

FYI, we hard to 'work around' this air gap problem with a temporary solution.