Page 1 of 1

NagiosXi Offline not working

Posted: Wed Apr 21, 2021 2:45 pm
by andromeda
Hello,

I have an isolated environment with no Internet access so I needed an offline upgrade procedure and used what Nagios posted:
Offline Upgrade Instructions
Upgrade to the latest version by downloading the latest offline tarball.
mkdir -p /tmp/rpms
cd /tmp/rpms
rm -rf nagiosxi*
Place the tarball downloaded from above in /tmp/rpms/
tar xzf nagiosxi*
cd nagiosxi*
./upgrade


[root@nagiosxi nagiosxi]# ./upgrade
package nagiosxi-shellinabox is not installed
Loaded plugins: fastestmirror
Examining nagiosxi-shellinabox-5.8.3-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.8.3-1.el7.x86_64
Marking nagiosxi-shellinabox-5.8.3-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-shellinabox.x86_64 0:5.8.3-1.el7 will be installed
--> Processing Conflict: nagiosxi-shellinabox-5.8.3-1.el7.x86_64 conflicts nagiosxi-deps-el7
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
---------------------------------------
However it failed saying it could not contact nagios mirror sites?? Why is this method called offline then?

Please help.
Thanks.

Re: NagiosXi Offline not working

Posted: Thu Apr 22, 2021 9:47 am
by dchurch
Looks like you already have an open ticket #363917, so I'm going to lock this. Please avoid creating duplicate issues in the future.