Page 2 of 2
Re: Nagios XI installtion
Posted: Tue Jan 02, 2018 11:37 am
by Katya.Ailarov
Hi,
i did use the procedure of offlien installation and still got error: please assist
[root@ssb01opsprd nagiosxi]# ./fullinstall
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
Setting up Local Package Process
Examining epel-release-6-8.noarch.rpm: epel-release-6-8.noarch
epel-release-6-8.noarch.rpm: does not update installed package.
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
http://repo.nagios.com/nagiosxi-deps/6/ ... repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600

: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
[root@ssb01opsprd nagiosxi]#
Re: Nagios XI installtion
Posted: Wed Jan 03, 2018 2:08 pm
by npolovenko
@Katya.Ailarov, Looks like this package was not installed:
Also, since this is an offline installation, all non local repo's from the /etc/yum.repos.d/ should be disabled:
enabled=0. That way the installation will not rely on internet connection.
To speed things up I recommend to open a support ticket:
https://support.nagios.com/tickets/ Our techs will be able to help with this installation during a quick remote session.
Re: Nagios XI installtion
Posted: Wed Jan 10, 2018 12:21 pm
by Katya.Ailarov
Hi,
i succesfuly completed the installation.
now i have 2 quires:
1) url is working with http how can i change it to https:// ?
2) i have the the monitored hosts that in the past i configured there nagios core.
can i connect nagios xi controller to this monitred hosts? or we need to install nagios xi on the remoted hosts also?
3) in nagios core i had nrpe.cfg file now on the new nagiosxi controller i dont see any nrpe.cfg why?
Thanks,
Katya.
Re: Nagios XI installtion
Posted: Wed Jan 10, 2018 1:21 pm
by npolovenko
@Katya.Ailarov, Normally we'd need to open a new thread for each unrelated question. I will try to answer them here briefly but if you require more clarification or help with one I'd ask you to create a separate thread.
1. Sometimes just changing http:// to https:// before Nagios xi link works, but the right way to do this described here:
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
2. That would depend on what kind of agent you used to monitor those hosts in the past? If that's nrpe all you need to do is add the XI IP address to the allowed_hosts in the client server's nrpe.cfg file. Then you may run a "Linux agent" wizard on the XI, and it will add all the default nrpe checks.
3. I think you only get nrpe.cfg file when you install NRPE agent. In other words, if you wanted to monitor Nagios XI Linux box from another Nagios XI or Nagios Core. But if you just want to monitor other servers with XI you don't need to have nrpe.cfg on the XI, only on the servers that you're monitoring.
Re: Nagios XI installtion
Posted: Wed Jan 10, 2018 2:41 pm
by Katya.Ailarov
Hi,
you're breif was great!
just 1 clearfication what you mean by: you may run a "Linux agent" wizard on the XI --> what i need to do exactly?
Re: Nagios XI installtion
Posted: Wed Jan 10, 2018 3:00 pm
by npolovenko
@Katya.Ailarov Say, you already installed nrpe agent on the server that you want to monitor. Now you just want to create checks in XI to monitor that server and see results in a web interface. In Core you'd manually open the services.cfg file and create the service definitions, right? In XI you can run a Linux server wizard:
screen.png
screen2.png
When done you'll see new services in the Summary on the home page:
Nagios-XI-2014-R1-NRPE-agent-on-OpenSUSE-13.png
Unless you chose to just import all the config files from the old Core server, then you don't need to do this.
Re: Nagios XI installtion
Posted: Thu Jan 11, 2018 7:15 am
by Katya.Ailarov
you are the best!!!
Thanks for the answer.
last question my instllation NAGIOSXI was on my linux server with temporary IP 10.146.1.53 which will be migrated on Sunday with the same configurtion but other IP 10.146.1.100
so the only change i need to do is to go to NagiosXI Installer go to Program URL (see attached photo): and change the url from
https://10.146.1.53/nagiosxi/
to
https://10.146.1.100/nagiosxi correct?
thanks,
Katya
Re: Nagios XI installtion
Posted: Thu Jan 11, 2018 11:41 am
by npolovenko
@Katya.Ailarov, I don't see the screenshot. Usually, you need to select the file and then click on the Upload button. But pretty much all you need to do is go to the Admin menu, then System config / System Settings(in the left column), and change the Program URL field. If you encounter problems feel free to open a thread.