Hello, I am new to NagiosXI and trying to get it installed. First, thing is, we cant install on our /tmp directories so I put the download and un tared the offline installer to /opt/transfer/nagiosxi, changed the tempdir to tempdir=/opt/nagios, manually set echo "offline" > /usr/local/nagiosxi/var/xi-itype. installed all the rpms manually with dnf install ./*.rpm, this installed them all
Everything looks correct, or like it worked, but going to https://localhost/nagios or https://localhost/nagiosxi does not work "we only can use https" It just comes back with Unable to connect "no error code"
also looking in /usr/local/nagiosxi I only see a var/xi-itype file, should I see more stuff in this nagiosxi folder?
This is a RHEL9 vm with limited access to the internet, we have to request ports or sites to be opened
Let me know if I can provide with any more details
Thank you
Offline Install Help - Install Directory
Re: Install Directory
Hey @jmchavez84jmchavez84 wrote: ↑Tue Mar 04, 2025 2:01 pm Hello, I am new to NagiosXI and trying to get it installed. First, thing is, we cant install on our /tmp directories so I put the download and un tared the offline installer to /opt/transfer/nagiosxi, changed the tempdir to tempdir=/opt/nagios, manually set echo "offline" > /usr/local/nagiosxi/var/xi-itype. installed all the rpms manually with dnf install ./*.rpm, this installed them all
Everything looks correct, or like it worked, but going to https://localhost/nagios or https://localhost/nagiosxi does not work "we only can use https" It just comes back with Unable to connect "no error code"
also looking in /usr/local/nagiosxi I only see a var/xi-itype file, should I see more stuff in this nagiosxi folder?
This is a RHEL9 vm with limited access to the internet, we have to request ports or sites to be opened
Let me know if I can provide with any more details
Thank you
If you havn't set up SSL it should just redirect you to http. Can you check your /etc/httpd/conf.d/ssl.conf and see if it has something resembling this in it?
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>
-
jmchavez84
- Posts: 4
- Joined: Tue Mar 04, 2025 1:39 pm
Re: Offline Install Help - Install Directory
Hello,
The code you pasted was not in my /etc/httpd/conf.d/ssl.conf file, so I added it at the bottom after the closing </VirtualHost> tag. I think it's a step closer. I' am now getting "Forbidden, You don't have permission to access this resource."
Selinux was enabled, but I just set it to permissive (setenforce 0)
I can get to some https sites, but they may be hard coded to be allowed through, I just submitted a local ticket to see if a policy/ firewall might block an attempt at going to a local https link.
Where is the Nagios webpage hosted at on an install on your machine? One other thing I thought of is the folder may not be set to let people read from it. I looked it /var/www/html but did not see a Nagios folder.
Thank you @sgardil
The code you pasted was not in my /etc/httpd/conf.d/ssl.conf file, so I added it at the bottom after the closing </VirtualHost> tag. I think it's a step closer. I' am now getting "Forbidden, You don't have permission to access this resource."
Selinux was enabled, but I just set it to permissive (setenforce 0)
I can get to some https sites, but they may be hard coded to be allowed through, I just submitted a local ticket to see if a policy/ firewall might block an attempt at going to a local https link.
Where is the Nagios webpage hosted at on an install on your machine? One other thing I thought of is the folder may not be set to let people read from it. I looked it /var/www/html but did not see a Nagios folder.
Thank you @sgardil
Re: Offline Install Help - Install Directory
Hello @jmchavez84,
When Nagios XI is properly installed, it is located at /usr/local/nagiosxi and that folder will contain several folders containing the contents of Nagios XI and Nagios Core in /usr/local/nagios.
Folders for Nagios Core (/usr/local/nagios):
bin, etc, libexec, sbin, share, var
Folders for Nagios XI (/usr/local/nagiosxi):
cron, developer, etc, html, nom, scripts, tmp, tools, var
It seems like Nagios XI didn't properly install. If you have full access to your machine, I would
to see if your install directory is different from the typical location, but if it's not installed somewhere else, you will likely need more detailed and personalized assistance.
You can access official Nagios support at https://support.nagios.com/
When Nagios XI is properly installed, it is located at /usr/local/nagiosxi and that folder will contain several folders containing the contents of Nagios XI and Nagios Core in /usr/local/nagios.
Folders for Nagios Core (/usr/local/nagios):
bin, etc, libexec, sbin, share, var
Folders for Nagios XI (/usr/local/nagiosxi):
cron, developer, etc, html, nom, scripts, tmp, tools, var
It seems like Nagios XI didn't properly install. If you have full access to your machine, I would
Code: Select all
cd /tmp
find -name "nagiosxi"You can access official Nagios support at https://support.nagios.com/
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
-
jmchavez84
- Posts: 4
- Joined: Tue Mar 04, 2025 1:39 pm
Re: Offline Install Help - Install Directory
@bbahn Thank you for the location, it was empty. I am working on installing it on another server and will copy it over to my VMs /usr/local folder and see how that goes while I wait on my https ticket to get resolved.
-
dianereese
- Posts: 3
- Joined: Sun Dec 15, 2024 11:07 pm
Re: Offline Install Help - Install Directory
If /usr/local/nagiosxi only contains the var/xi-itype file, that’s a sign the installer didn’t finish extracting or configuring everything correctly. Normally, you'd see a full directory structure there after a successful install (e.g., subfolders like html, scripts, etc, etc.).jmchavez84 wrote: ↑Tue Mar 04, 2025 2:01 pm Hello, I am new to NagiosXI and trying to get it installed. First, thing is, we cant install on our /tmp directories so I put the download and un tared the offline installer to /opt/transfer/nagiosxi, changed the tempdir to tempdir=/opt/nagios, manually set echo "offline" > /usr/local/nagiosxi/var/xi-itype. installed all the rpms manually with dnf install ./*.rpm, this installed them all
Everything looks correct, or like it worked, but going to https://localhost/nagios or https://localhost/nagiosxiYoPlay does not work "we only can use https" It just comes back with Unable to connect "no error code"
also looking in /usr/local/nagiosxi I only see a var/xi-itype file, should I see more stuff in this nagiosxi folder?
This is a RHEL9 vm with limited access to the internet, we have to request ports or sites to be opened
Let me know if I can provide with any more details
Thank you
One thing to double-check: after installing the RPMs, did you run the ./install.sh script from within the offline installer directory? That’s what actually sets up Nagios XI — installing RPMs alone isn’t enough.
Re: Offline Install Help - Install Directory
Regarding the contents of the /usr/local/nagiosxi directory, you should see several subdirectories and files, including var, etc, and html. If you only see var/xi-itype, it may indicate an incomplete installation.jmchavez84 wrote: ↑Tue Mar 04, 2025 2:01 pm Hello, I am new to NagiosXI and trying to get it installed. First, thing is, we cant install on our /tmp directories so I put the download and un tared the offline installer to /opt/transfer/nagiosxi, changed the tempdir to tempdir=/opt/nagios, manually set echo "offline" > /usr/local/nagiosxi/var/xi-itype. installed all the rpms manually with dnf install ./*.rpm, this installed them all
Everything looks correct, or like it worked, but going to https://localhost/nagios or https://localhost/nagiosxicrossy road does not work "we only can use https" It just comes back with Unable to connect "no error code"
also looking in /usr/local/nagiosxi I only see a var/xi-itype file, should I see more stuff in this nagiosxi folder?
This is a RHEL9 vm with limited access to the internet, we have to request ports or sites to be opened
Let me know if I can provide with any more details
Thank you