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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-19-2009, 12:27 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Rep:
|
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.
|
|
|
11-19-2009, 12:31 PM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
11-20-2009, 07:40 AM
|
#3
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep: 
|
Quote:
Originally Posted by porrascarlos80
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 
|
|
|
11-21-2009, 02:23 PM
|
#4
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
11-21-2009, 02:43 PM
|
#5
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Glad to hear you got it working.
Kind regards,
Eric
|
|
|
All times are GMT -5. The time now is 01:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|