Web Interface to Nagios Core - connection has timed out
Posted: Wed Jun 01, 2016 7:54 pm
I can not open a web browser to the Nagios install I did on Centos.
2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 GNU/Linux
netstat -tnulp shows port 80 as available
tcp 0 0 :::80 :::* LISTEN 7029/httpd
I edited the iptables in /etc/sysconfig/iptables to allow Nagios ports
#HTTP/HTTPS
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
#NRPE
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5666 -j ACCEPT
#NSCA
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5667 -j ACCEPT
COMMIT
check_http seems to indicate that httpd is running
[root@nagiosxi ~]# /usr/local/nagios/libexec/check_http -H 127.0.0.1
HTTP OK: HTTP/1.1 200 OK - 265 bytes in 0.000 second response time |time=0.000455s;;;0.000000 size=265B;;;0
ps-ef seems to indicate that httpd is running
ps -ef | grep -i "http"
apache 7029 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7030 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7031 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7032 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7033 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7034 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7035 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7036 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
root 15362 15137 0 14:57 pts/0 00:00:00 grep -i http
root 32244 1 0 May31 ? 00:00:00 /usr/sbin/httpd
from a remote workstation telnet "ip_address_of_nagios 22" on port 22 indicates that the port is open
but telnet "ip_address_of_nagios 80" on port 80 gets no response
Any help on getting the web interface to Nagios Core working would be appreciated
I have the entire CLI install file if needed.
2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 GNU/Linux
netstat -tnulp shows port 80 as available
tcp 0 0 :::80 :::* LISTEN 7029/httpd
I edited the iptables in /etc/sysconfig/iptables to allow Nagios ports
#HTTP/HTTPS
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
#NRPE
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5666 -j ACCEPT
#NSCA
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5667 -j ACCEPT
COMMIT
check_http seems to indicate that httpd is running
[root@nagiosxi ~]# /usr/local/nagios/libexec/check_http -H 127.0.0.1
HTTP OK: HTTP/1.1 200 OK - 265 bytes in 0.000 second response time |time=0.000455s;;;0.000000 size=265B;;;0
ps-ef seems to indicate that httpd is running
ps -ef | grep -i "http"
apache 7029 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7030 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7031 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7032 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7033 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7034 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7035 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
apache 7036 32244 0 03:12 ? 00:00:00 /usr/sbin/httpd
root 15362 15137 0 14:57 pts/0 00:00:00 grep -i http
root 32244 1 0 May31 ? 00:00:00 /usr/sbin/httpd
from a remote workstation telnet "ip_address_of_nagios 22" on port 22 indicates that the port is open
but telnet "ip_address_of_nagios 80" on port 80 gets no response
Any help on getting the web interface to Nagios Core working would be appreciated
I have the entire CLI install file if needed.