Update to Nagios Core installation guide needed.

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
saboom
Posts: 1
Joined: Wed Jan 30, 2013 4:42 pm

Update to Nagios Core installation guide needed.

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Update to Nagios Core installation guide needed.

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