Unable to access Nagios web interface from client

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
mythbeast
Posts: 2
Joined: Thu Aug 10, 2017 12:24 pm

Unable to access Nagios web interface from client

Post by mythbeast »

Hello,

I'm pretty new to Linux and Nagios, and was given the project of setting up a Nagios server.

I followed the directions located here - https://www.tecmint.com/install-nagios-in-linux/

I have Nagios 4.2.0 running on CentOS 6.9.

The problem I am having is that I'm not able to access the web interface from a client. I can get to the web interface on the localhost where nagios is installed, by going to http://localhost/nagios.

So far I've tried the netbios name, the IP, and also trying to include the nagios version into the url (http://nagiosserver/nagios4, etc)

I've also disabled the firewall using - # chkconfig iptables off, and confirming that with - # service iptables status.

I have a suspicion that I have to join my vm to the domain, but my boss said that when he setup the last one 2 years ago, he never had to join it to the domain. This I doubt as I was able to SSH into it using putty when I first started.

If there's any logs I can provide, please let me know the command I should run for them.
bolson

Re: Unable to access Nagios web interface from client

Post by bolson »

Hello mythbeast,

What error is the browser returning when you try to access the Web GUI?
Just an fyi: the command "chkconfig iptables off" doesn't stop the service, it just prevents the service from starting on boot. The way to stop iptables is "service iptables stop"
Can you post the result of:

Code: Select all

sestatus
This could be a selinux issue.

Also, please attach these two files:

/var/log/httpd/access_log
/var/log/httpd/error_log
mythbeast
Posts: 2
Joined: Thu Aug 10, 2017 12:24 pm

Re: Unable to access Nagios web interface from client

Post by mythbeast »

Hello bolson, thanks for replying.

Success! After inputting the command 'service iptables stop', I connected via IP to the web interface!

Thanks again for the help!
bolson

Re: Unable to access Nagios web interface from client

Post by bolson »

Glad to help.

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked