I have set up a machine with Centos 7 and installed Nagios from the EPEL repository successfully. Using Lynx (command line browser) I can access the Nagios server running on the machine but it says that the browser must support frames, something Lynx does not do. Now, my issue is when trying to access the server from any other machine in the same LAN. While the machine the server is on in pingable, every request just times out. Also, the requests do not generate any new lines in the access_log and error_log of the apache. Apart from the Nagios service, the same happens when I try to access an index.html file I made as a test on that server (this test file is also accessible from within Lynx locally). I have not tampered with the *.conf files of the apache or the one that Nagios installed. Please help.
Here is the httpd.conf:
http://pastebin.com/39tP2xzZ
And here is the nagios.conf
http://pastebin.com/gSSSXvfd
Centos 7 Nagios server unreachable
Re: Centos 7 Nagios server unreachable
Using the time between me making the post, and the post getting approval, I did some research and came up with an answer. It turns out Centos 7 has a set of overly draconian iptables rules in place by default. By inputting I was fully able to access the server from within the LAN.
Code: Select all
iptables -A IN_public_allow -p tcp --dport 80 -j ACCEPTRe: Centos 7 Nagios server unreachable
Sorry we didn't get to your post - office hours are 9AM to 5PM CDT, so sometimes it takes a bit if posts are made early in the morning or late at night.
Thanks for the info though, might help someone in the future who is having the same issue. Gonna lock this thread up.
Thanks for the info though, might help someone in the future who is having the same issue. Gonna lock this thread up.
Former Nagios employee