LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2009, 12:27 PM   #1
porrascarlos80
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Nagios won't work with iptables enabled


hello all,

I have nagios working fine with iptables off, but when I enable it wont connect.

How to fix this or allow nagios to be displayed on outside host?

regards
carlos.
 
Old 11-19-2009, 12:31 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions porrascarlos80,

First off all, don't 'hijack' other threads, it's rude to do so and takes the attention of the topic of the Original Poster of this thread. So please post you own thread when you have a problem.

Next, please post some more detail, how you have the Nagios site configured, using apache? If so, post the part of the apache config. Also what have you configured for your iptables rules.

With that information at hand someone will be able to offer you more direct and faster help.

Kind regards,

Eric
 
Old 11-20-2009, 07:40 AM   #3
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by porrascarlos80 View Post
hello all,

I have nagios working fine with iptables off, but when I enable it wont connect.

How to fix this or allow nagios to be displayed on outside host?

regards
carlos.
as eric says....we need to know what checks nagios is doing + your iptables rule list.

consequently you should be able to easily find out what is being blocked and why if you have set up logging with your iptables.
if you have not, why not?? it is one of the golden rules
 
Old 11-21-2009, 02:23 PM   #4
porrascarlos80
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
issue resolved

All what it was about , was red hat firewall , iptables.

allowed apache to go through and we are done.

How? ease, on command line, type setup, go on the text mode editor, select firewall, allow www service and that`s it.

thanks all.

carlos.
 
Old 11-21-2009, 02:43 PM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Glad to hear you got it working.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Nagios to work on CentOS 5.3 Wenceslao Linux - Server 6 08-17-2009 01:07 PM
Sendmail won't work with SELinux enabled? jimwillsher Linux - Security 1 03-15-2005 08:16 AM
Some games don't work with audio enabled Googly Linux - General 1 01-02-2005 10:11 PM
port 143. can't telnet, service enabled, no iptables. help? trossachs Linux - Networking 21 02-18-2004 05:48 PM
iptables and 2.6.1, not enough enabled? darklogik_org Slackware 4 01-26-2004 01:19 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration