Page 1 of 1
Setting up Nagios XI in closed environment
Posted: Thu Nov 30, 2017 1:03 pm
by sathevaner
I'm attempting to install Nagios XI on a RHEL6 server which is not connected to the Internet. This machine does have access to private software repositories for when installations/updates are necessary. I've learned that the "fullinstall" script does not accommodate environments like mine.
1. Is this possible in the first place?
2. Has anyone done this successfully?
Re: Setting up Nagios XI in closed environment
Posted: Thu Nov 30, 2017 1:31 pm
by npolovenko
Hello,
@sathevaner. Check out this tutorial:
https://assets.nagios.com/downloads/nag ... onment.pdf
I think that as long as if you manually install all the required packages beforehand, XI should be able to install offline.
Also, you may go with an offline installation from the repo:
https://repo.nagios.com/
Re: Setting up Nagios XI in closed environment
Posted: Fri Dec 01, 2017 12:50 pm
by sathevaner
Thank you for the reply, @npolovenko.
The fullinstall script is broken. It calls on the NRDS shell script installer, when it is not packaged with the latest Linux tarball:
Code: Select all
./B-installxi: line 161: /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/install.sh: No such file or directory
Please advise on how I can proceed with the fullinstall script.
Re: Setting up Nagios XI in closed environment
Posted: Fri Dec 01, 2017 1:19 pm
by lmiltchev
Did you follow the document referenced by npolovenko?
https://assets.nagios.com/downloads/nag ... onment.pdf
The "offline" fullinstall script is different than the "regular" one... It uses yum to do a "local" install of the RPMs that are included in the tarball...
Code: Select all
[root@main-nagios-xi nagiosxi]# cat fullinstall
#!/bin/sh -e
yum -y --nogpgcheck localinstall *.rpm
Here's the included RPMs. Notice that "nagiosxi-nrds-5-4.11.el7.x86_64.rpm" is included.
Code: Select all
[root@main-nagios-xi nagiosxi]# pwd
/tmp/rpms/nagiosxi
[root@main-nagios-xi nagiosxi]# ls
fping-3.10-4.el7.x86_64.rpm nagiosxi-ndoutils-5-4.11.el7.x86_64.rpm perl-Net-SNMP-6.0.1-7.el7.noarch.rpm
freetds-0.95.81-1.el7.x86_64.rpm nagiosxi-nrds-5-4.11.el7.x86_64.rpm perl-Number-Format-1.73-14.el7.noarch.rpm
fullinstall nagiosxi-nrpe-5-4.11.el7.x86_64.rpm php-mcrypt-5.4.16-4.el7.x86_64.rpm
jwhois-4.0-38.el7.x86_64.rpm nagiosxi-nsca-5-4.11.el7.x86_64.rpm php-mssql-5.4.16-4.el7.x86_64.rpm
libidn2-0.10-2.el7.x86_64.rpm nagiosxi-pnp-5-4.11.el7.x86_64.rpm php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm
libmcrypt-2.5.8-13.el7.x86_64.rpm nagiosxi-wkhtmltox-5-4.11.el7.x86_64.rpm php-pecl-ssh2-0.12-1.el7.x86_64.rpm
nagiosxi-5-4.11.el7.x86_64.rpm nagiosxi-wmic-5-4.11.el7.x86_64.rpm python-bson-2.5.2-4.el7.x86_64.rpm
nagiosxi-ajaxterm-5-4.11.el7.x86_64.rpm nmap-6.47-1.x86_64.rpm python-pymongo-2.5.2-4.el7.x86_64.rpm
nagiosxi-mrtg-5-4.11.el7.x86_64.rpm perl-Class-Accessor-0.34-12.el7.noarch.rpm python-pymssql-2.1.1-1.el7.x86_64.rpm
nagiosxi-nagioscore-5-4.11.el7.x86_64.rpm perl-Config-IniFiles-2.79-1.el7.noarch.rpm python-simplejson-3.3.3-1.el7.x86_64.rpm
nagiosxi-nagiosmobile-5-4.11.el7.x86_64.rpm perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm rrdtool-1.4.9-1.el7.x86_64.rpm
nagiosxi-nagiosplugins-5-4.11.el7.x86_64.rpm perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm rrdtool-perl-1.4.9-1.el7.x86_64.rpm
nagiosxi-nagiosql-5-4.11.el7.x86_64.rpm perl-Mail-POP3Client-2.18-6.el7.noarch.rpm rrdtool-python-1.4.9-1.el7.x86_64.rpm
nagiosxi-nagvis-5-4.11.el7.x86_64.rpm perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm upgrade
Re: Setting up Nagios XI in closed environment
Posted: Fri Dec 01, 2017 1:42 pm
by sathevaner
The problem turned out to be a hardened php.ini file on the server that was overlooked. The offline installation has completed successfully. Thank you, @npolovenko and @lmiltchev, for the quick replies!
Re: Setting up Nagios XI in closed environment
Posted: Fri Dec 01, 2017 2:11 pm
by kyang
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!