Cannot access Nagios web interface remotely

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
sa2057
Posts: 6
Joined: Tue Feb 14, 2012 11:14 am

Cannot access Nagios web interface remotely

Post by sa2057 »

Hello all,

I'm new to Nagios. Hope some one could provide advice to me.

I've installed Nagios on Cent OS vm . Everything went well as I can monitor windows machines etc. The only problem is I cant access the web interface from my pc or any other pc apart from Nagios server.

Is there any which I need to edit on httpd.conf



Thanks
SA
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Cannot access Nagios web interface remotely

Post by jsmurphy »

is iptables running on the server and have you allowed other hosts access? Run the command iptables --list to check.
sa2057
Posts: 6
Joined: Tue Feb 14, 2012 11:14 am

Re: Cannot access Nagios web interface remotely

Post by sa2057 »

Thanks for the response . Below is the output... when I run iptables --list

iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
sa2057
Posts: 6
Joined: Tue Feb 14, 2012 11:14 am

Re: Cannot access Nagios web interface remotely

Post by sa2057 »

It works now.

I have enabled the http on the local firewall.

Thanks
SA
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Cannot access Nagios web interface remotely

Post by jsmurphy »

You're welcome :)
Locked