Unable to access nagios from web browser.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nelsonhyj
Posts: 5
Joined: Fri Sep 11, 2020 2:31 pm

Unable to access nagios from web browser.

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unable to access nagios from web browser.

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nelsonhyj
Posts: 5
Joined: Fri Sep 11, 2020 2:31 pm

Re: Unable to access nagios from web browser.

Post 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.
Locked