Installing Core from Source - Documentation Suggestion

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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Installing Core from Source - Documentation Suggestion

Post by Box293 »

I was playing around with installing Nagios Core from Source on some CentOS boxes following the document "Nagios - Installing Nagios Core From Source" pdf.

I couldn't access the Nagios web interface until I allowed firewall rules with iptables.

I think there needs to be a section with these following two lines:

Code: Select all

iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
/sbin/service iptables save
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Installing Core from Source - Documentation Suggestion

Post by eloyd »

iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
That may violate someone's corporate firewall policy.

I agree that there may need to some sort of mention of making sure that firewall rules are updated, but having a blanket open statement for all web traffic from all sources may not be right in all cases. And teaching people the structure and syntax of iptables is beyond the scope of the quickstart document that I think you're referring to.

But I'm all for a "Closing thoughts" of "don't forget to update any firewall rules to allow access to your web server port."
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Locked