Page 3 of 3
Re: Configuration verification Hangs and never completes
Posted: Fri Mar 30, 2012 1:16 pm
by partners.nagios
I had setup SSL using those instructions originally. I tried to find that line in config.inc.php and it wasn't there, so I added it. That didn't work. I found the line in config.inc.dist, so I changed it there and it still didn't work. Is there anything else I have to change? (Also, ssl.conf is set to listen on the non-standard port.)
Re: Configuration verification Hangs and never completes
Posted: Fri Mar 30, 2012 2:12 pm
by partners.nagios
Something else I have just noticed that nagios seems to still use port 80 even when you set it to use https. In my /etc/httpd/conf/httpd.conf file I have changed the "Listen" port from 80 to something else, since I don't want things connecting to the server using http. When I do this I start experiencing the problem we have been discussing. If I let httpd listen on port 80, and use port 443 for https everything works fine. So how do we get nagios to only use https? Maybe I am missing something here.
Re: Configuration verification Hangs and never completes
Posted: Mon Apr 02, 2012 9:31 am
by scottwilkerson
I believe you may need to make the same changes found in the documentation we have for SSL to the /etc/httpd/conf.d/nagios.conf as well
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Re: Configuration verification Hangs and never completes
Posted: Mon Apr 02, 2012 9:32 am
by mguthrie
In addition to the port number being defined in config.inc.php, you also need to add:
If you're using a port other than 443 or 80 for your web server, then you need to set the "Listen" directive to be on whatever port you've defined.
Once that is done, if it's still not working, access the Admin->System Profile page, and post the text document from that page.