Nagios XI installtion

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Nagios XI installtion

Post by Katya.Ailarov »

Hi Nagios Support,

Our company bought Nagios XI with the support.

Customer number: XXXXX
XI License Key: XXXXXX-XXXXXX-XXXXXX-VSOUTV

I want to install Nagios XI on my machine what should I do for this? And how the license will be installed on the machine or another way to ask how Nagios XI will now that on my machine 10.146.1.100 is licensed?

Thanks,
Katya.
Last edited by tmcdonald on Thu Dec 21, 2017 10:15 am, edited 1 time in total.
Reason: Removed license key and customer info
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Nagios XI installtion

Post by Katya.Ailarov »

Hi,

want to add something i tried to install it and got the follwoing errors:
[root@ssb01opsprd nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has
an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Configuring Repos...
Passed New Subscription Check
package centos-release is not installed
Unable to locate SystemId file. Is this system registered?
n
Passed Optional Repo Check
Enabling Nagios repo...
Installing Nagios Repo PKG: packages/nagios-repo-6-2.el6.noarch.rpm
warning: packages/nagios-repo-6-2.el6.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 1e924cb3: NOKEY
Preparing... ##################################################
nagios-repo ##################################################
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
http://repo.nagios.com/nagios/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: nagios-base. Please verify its path and try again
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-6-8.noarch.rpm
warning: ./packages/epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ##################################################
epel-release ##################################################
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
epel-release RPM installed OK
Repo configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Cleaning repos: epel nagios-base nagiosxi-deps rhel-6-server-optional-rpms
: rhel-6-server-rpms rhel-server-dts-6-rpms
: rhel-server-dts2-6-rpms
Cleaning up Everything
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Nagios XI installtion

Post by Katya.Ailarov »

please see the most updated installation i did:
1) my server is working in offline mode means we dont have access from this servcer to the internet.
2) this is why i run nagios instllation in oflline from: https://repo.nagios.com/
3) this is the error i got:
[root@ssb01opsprd nagiosxi]# ./fullinstall
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
Setting up Local Package Process
Examining fping-3.10-1.el6.rf.x86_64.rpm: fping-3.10-1.el6.rf.x86_64
Marking fping-3.10-1.el6.rf.x86_64.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

please assist.

Thanks,
Katya.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI installtion

Post by npolovenko »

Welcome, @Katya.Ailarov. Please avoid posting any confidential info on this forum. Your license key could've got caught by search engines or stolen. We will generate and email you a new license key to the email address provided with your account. If you'll have any license related questions in the future feel free to email [email protected]
Now, as far as the installation problem goes. Does your network have any known outbound limitations, perhaps your company is using a DNS?
Are you able to run:

Code: Select all

yum clean all
yum update
Do you get any connection errors? Does your firewall block outgoing connections on the port 80 or 443?
Can you post the contents of /etc/resolv.conf file?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Nagios XI installtion

Post by Katya.Ailarov »

Hi Ngaios Team,

Our server is disconnected from the Internet (Offline).

and we can't run yum clean all as we have on this server also other applications other then Nagios.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI installtion

Post by npolovenko »

Hello, @Katya.Ailarov.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Looks like this server doesn't have access to a local epel repository. You could wget the epel rpm on another computer that has access to the internet, and then install it on this server.
https://www.tecmint.com/how-to-enable-e ... entos-6-5/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Nagios XI installtion

Post by Katya.Ailarov »

Hi,

i have installed epal and again failed on the instllation.

please see the follwoing steps i did:

1) [root@ssb01opsprd tmp]# rpm -ivh epel-release-6-8.noarch.rpm
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed

2) [root@ssb01opsprd tmp]# yum repolist
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
http://repo.nagios.com/nagios/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
http://repo.nagios.com/nagiosxi-deps/6/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

3) root@ssb01opsprd nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has
an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Cleaning repos: epel nagios-base nagiosxi-deps rhel-6-server-optional-rpms
: rhel-6-server-rpms rhel-server-dts-6-rpms
: rhel-server-dts2-6-rpms
Cleaning up Everything
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'
[root@ssb01opsprd nagiosxi]#

please assist ASAP as we need to go live next week.

Thanks,
Katya.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI installtion

Post by npolovenko »

@Katya.Ailarov, It looks like your system is still trying to connect to the internet. Please navigate to:

Code: Select all

cd /etc/yum.repos.d
Open the epel.repo file and changeenabled=1 to enabled=0.

If you'd have similar problems with other repos, you'd need to disable them as well.

Let us know if that resolved the problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Katya.Ailarov
Posts: 25
Joined: Wed Aug 17, 2016 5:29 am

Re: Nagios XI installtion

Post by Katya.Ailarov »

[root@ssb01opsprd nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has
an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://repo.nagios.com/nagiosxi-deps/6/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: nagiosxi-deps. Please verify its path and try again
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Cleaning repos: nagiosxi-deps rhel-6-server-optional-rpms rhel-6-server-rpms
: rhel-server-dts-6-rpms rhel-server-dts2-6-rpms
Cleaning up Everything
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
: subscription-manager
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://repo.nagios.com/nagiosxi-deps/6/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: nagiosxi-deps. Please verify its path and try again
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'
[root@ssb01opsprd nagiosxi]# cd /etc/yum.repos.d/
[root@ssb01opsprd yum.repos.d]# ls -la
total 172
drwxr-xr-x. 3 root root 4096 Dec 31 06:20 .
drwxr-xr-x. 135 root root 12288 Dec 27 03:43 ..
-rw-r--r-- 1 root root 957 Dec 31 06:12 epel.repo
-rw-r--r-- 1 root root 1056 Nov 4 2012 epel-testing.repo
-rw-r--r-- 1 root root 302 Dec 31 06:20 nagios-6.repo
-rw-r--r-- 1 root root 132120 Dec 21 09:46 redhat.repo
-rw-r--r-- 1 root root 529 Feb 26 2017 rhel-source.repo
drwxr-xr-x 2 root root 4096 Oct 30 06:44 test
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI installtion

Post by dwhitfield »

Katya.Ailarov wrote: and we can't run yum clean all as we have on this server also other applications other then Nagios.
This doesn't remove any applications, it just removes the cache. Please see https://access.redhat.com/documentation ... _yum_cache for details, but please attempt to clean the installation cache.

You mention you don't have access to the Internet. Are you using the instructions at http://repo.nagios.com/ ? If not, your install is not going to work.

Lastly, please note the following from the install script:
Do NOT use this on a system that has been tasked with other purposes or has an existing install of Nagios Core.
Locked