Page 1 of 1
Nagios XI Offline Installation Issue
Posted: Thu Jan 30, 2025 12:57 pm
by rlee8394
I am using xi-2024R1.3.3.tar.gz to install on a Red Hat EL 8.10 system which is offline. This is a clean RHEL8 installation with the requisite repos enabled.
Issue 1 - The "How to Install Nagios XI In An Offline Environment" manual states to run ./fullinstall. This is false as the install attempts to curl to outside repos. The correct executable to run is ./offlineinstall.
Issue 2 - Inconsistent scripts. fullinstall is a #!/bin/bash -e script while offlineinstall and offlineugrade are both #!/bin/sh -e files.
Issue 3 - Running the ./offlineinstall script fails with error:
cp: cannot stat 'offline-nagiosxi': No such file or directory.
So, it seems that there is no offline-nagiosxi folder to copy.
Any support on this matter is greatly appreciated.
Re: Nagios XI Offline Installation Issue
Posted: Thu Jan 30, 2025 1:45 pm
by rlee8394
Looks like the proper file to use is nagiosxi-2024R1.3.3-1.el9.x86_64.tar from
https://repo.nagios.com/nagiosxi-offline/
Re: Nagios XI Offline Installation Issue
Posted: Thu Jan 30, 2025 5:57 pm
by jmichaelson
Did using that download get you installed and ready to go? Or do you need more assistance on it?
Re: Nagios XI Offline Installation Issue
Posted: Tue Feb 04, 2025 2:40 pm
by rlee8394
Yes, nagiosxi-2024R1.3.3-1.el9.x86_64.tar did the trick.
Now trying to install NCPA but there seems to be different versions. The ncpa-latest.el8.x86_64.rpm seems to be version ncpa-2.4.1-1 and has the services ncpa_listener and ncpa_passive, whereas ncpa-3.1.3-1.x86_64.rpm only has the service ncpa. Tried installing ncpa-3.1.1-1.x86_64.rpm (Had that version available) and it fails to start ncpa.service. Not sure which version should one deploy on remote hosts to communicate with Nagios XI 2024R1.3.3-1. Don't know why Nagios didn't include the NCPA agents in the offline tar.gz.
Re: Nagios XI Offline Installation Issue
Posted: Thu Feb 06, 2025 6:41 pm
by bbahn
Hello @rlee8394,
It seems you're getting NCPA from the wrong location. If you're still pulling from the old assets.nagios.com location, you will be getting the wrong version. The most recent version can be found at
https://www.nagios.org/ncpa/#downloads, which links to the updated assets files at
https://assets.nagios.com/downloads/ncpa3/
Re: Nagios XI Offline Installation Issue
Posted: Thu Feb 06, 2025 7:38 pm
by rlee8394
Yeah, I got ncpa-3.1.1-1.x86_64. Works fine except on systems where SELinux is running. I need to find a solution for the agent to run on systems running SELinux because we aren't allowed to disable it. Been banging my head against a wall on this issue.
Re: Nagios XI Offline Installation Issue
Posted: Fri Apr 25, 2025 1:49 am
by huel02
What is the best NCPA version to install for compatibility with Nagios XI 2024R1.3.3-1, considering the differences in services between ncpa-latest.el8.x86_64.rpm and ncpa-3.1.3-1.x86_64.rpm?
Re: Nagios XI Offline Installation Issue
Posted: Mon May 05, 2025 4:01 am
by justindev
Regarding the SELinux issue with NCPA 3.x, you might want to try these steps:
block blast
1. Check audit logs (ausearch -m avc -ts recent) to identify exactly which policies are being blocked.
2. Create a custom SELinux policy from the logs using audit2allow, for example:
Code: Select all
grep ncpa /var/log/audit/audit.log | audit2allow -M my_ncpa_policy
semodule -i my_ncpa_policy.pp
If issues persist, temporarily run the agent in permissive mode (setenforce 0) to verify if SELinux is indeed the culprit.
P.S.: Nagios XI offline bundles often exclude agents, likely due to license restrictions. As @bbahn suggested, downloading NCPA from the official site is recommended.