Overview
This KB article will show you how to install Nagios Fusion 4 in an offline environment.
An offline environment is described as one that does not have direct internet access. Normally the server you are installing Nagios Fusion onto requires internet [or local repository mirror] access to install packages from repositories.
This KB article shows you how to modify the installation so it does not require internet access. However you will still need to download some packages on a computer that has internet access and then transfer those packages to your offline server.
This KB article was written using Nagios 4.0.0. Future versions may have additional components that are not addressed in this KB article and will need to be taken into consideration if the process does not work as expected.
Nagios Enterprises provides this KB article to customers in good faith. However an installation of Nagios Fusion using this method is not officially supported by Nagios Enterprises, future problems caused by using this method is beyond our control. Support may be limited if problems cannot be reproduced on a normal installation of Nagios Fusion.
Requirements
This method requires two CentOS / RHEL servers.
-
Internet facing computer
-
This computer is required for downloading specific files that are normally required by the installation package
-
Once these files have been downloaded, this computer will need to be able to transfer them to the destination server
-
-
Offline Server
-
This is the server that you want to perform the offline install on
-
It must be a clean minimal build of RHEL/CentOS 7
- 64-bit
-
The server will require access to offline yum repositories of:
-
Operating System Repositories
-
-
-
This guide will refer to this server as Offline Server
Download Required Files
On your internet facing computer you need to download the following files:
Nagios Fusion
Download the Nagios Fusion tarball:
https://assets.nagios.com/downloads/nagiosfusion/fusion-latest.tar.gz
All versions of Nagios Fusion can be located here:
https://assets.nagios.com/downloads/nagiosfusion/versions.php
Once you have downloaded the Nagios Fusion tarball you need to transfer it to your offline server into the /tmp/ location. Steps on how to do this are not provided here, however you can use a program like WinSCP to transfer it.
Offline Server
Establish a terminal session to the offline server as the root user.
As mentioned under the requirements section, the offline server will require access to offline yum repositories of:
-
Operating System Repositories
If you're running CentOS / RHEL 7 and you don't have access to the offline yum repositories, you'll manually install these instead:
httpd mysql mariadb mariadb-server php php-pdo php-mysql php-mbstring unzip ntp sysstat
Now extract the tar ball and change directory into the Fusion installation directory:
cd /tmp
tar xzf fusion-latest.tar.gz
cd /tmp/nagiosfusion
Now run this command to install Nagios Fusion:
./fullinstall
Wait for the install to complete. If it is successful it should end with:
Nagios Fusion Installation Complete!
----------------------------------------
You can access the Nagios Fusion web interface by visiting:
http://xxx.xxx.xxx.xxx/nagiosfusion/
Proceed to the URL provided in the output above to complete the Nagios Fusion installation.
Final Thoughts
For any support related questions please visit the Nagios Support Forums at: