Page 1 of 1

Cannot access Nagios web interface remotely

Posted: Tue Feb 14, 2012 11:21 am
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

Re: Cannot access Nagios web interface remotely

Posted: Tue Feb 14, 2012 4:03 pm
by jsmurphy
is iptables running on the server and have you allowed other hosts access? Run the command iptables --list to check.

Re: Cannot access Nagios web interface remotely

Posted: Wed Feb 15, 2012 4:47 am
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

Re: Cannot access Nagios web interface remotely

Posted: Wed Feb 15, 2012 8:00 am
by sa2057
It works now.

I have enabled the http on the local firewall.

Thanks
SA

Re: Cannot access Nagios web interface remotely

Posted: Wed Feb 15, 2012 4:39 pm
by jsmurphy
You're welcome :)