Page 1 of 1

Update to Nagios Core installation guide needed.

Posted: Wed Jan 30, 2013 4:50 pm
by saboom
I just installed Nagios for the first time and followed the guide here....

http://assets.nagios.com/downloads/nagi ... Source.pdf

I installed it on CentOS 6.3 64bit using the basic server installation. Once I went through the entire document without errors (except for updating the download version numbers) I was unable to open up the Nagios web page and got a 403 error.

I figured out it was because incoming port 80 connections were not allowed by default in the IPTABLES.

I ran the following commands and everything started working. Would be nice to add to this to the install guide as I spent an hour troubleshooting apache only to figure this out.

Run the following two commands to open up port 80 on CentOS.

Code: Select all

iptables -I INPUT -p tcp --dport 80 -j ACCEPT

service iptables save

Re: Update to Nagios Core installation guide needed.

Posted: Thu Jan 31, 2013 5:08 pm
by slansing
By default HTTP/S rules are open on port 80 inbound with most Distro's. It is strange that your system did not have them allowed.. Unless it was not a totally fresh image.