Page 1 of 1

Unable to access nagios from web browser.

Posted: Wed Oct 07, 2020 7:35 pm
by nelsonhyj
Hello everyone,

I'm pretty much new to Linux and Nagios, and it I need to set up a Nagios server.

I followed the directions located here - https://www.tecmint.com/install-nagios-on-rhel-8/

I have Nagios 4.4.3, Nagios Plugins 2.1.1, running on RHEL 8.2

The problem I have is: I'm not able to access the web interface from web. I can get to the web interface going to http://localhost/nagios.

When I try to access it, this message appears to me:
The site can't be reached
<ip> took to long to respond
Checking the connection
Checking the proxy and the firewall

The software installation I went through with no problems. Nagios server and the Apache are started and the Nagios config checked without any problems too. But when I trying to connect through the browser it fails.

Here it is my "sestatus" :
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: disabled
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 31

Here it is my systemctl status firewalld.service :
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-10-07 04:11:40 UTC; 20h ago
Docs: man:firewalld(1)
Main PID: 56411 (firewalld)
Tasks: 3 (limit: 4936)
Memory: 30.9M
CGroup: /system.slice/firewalld.service
└─56411 /usr/libexec/platform-python -s /usr/sbin/firewalld --nofork --nopid


If there's any logs I can provide you, please let me know the command I should run, and I'll show it here.

Re: Unable to access nagios from web browser.

Posted: Thu Oct 08, 2020 5:04 pm
by benjaminsmith
Hi,

Welcome! If possible, and to save time, I would highly recommend starting fresh and following our official setup instructions below.

https://support.nagios.com/kb/article/n ... tml#CentOS

Also, you'll want to disable SELinux as that can cause issues with the software.

Benjamin

Re: Unable to access nagios from web browser.

Posted: Thu Oct 15, 2020 7:32 am
by nelsonhyj
benjaminsmith wrote:Hi,

Welcome! If possible, and to save time, I would highly recommend starting fresh and following our official setup instructions below.

https://support.nagios.com/kb/article/n ... tml#CentOS

Also, you'll want to disable SELinux as that can cause issues with the software.

Benjamin
I created a new instance, and followed this setup instructions, but the same error occours to me
(The site can't be reached
<ip> took to long to respond
Checking the connection
Checking the proxy and the firewall).
I can't log into the Nagios Web Interface when I finalize the installation.