Unable to access nagios from web browser.
Posted: Wed Oct 07, 2020 7:35 pm
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.
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.