Configuration verification Hangs and never completes
-
partners.nagios
- Posts: 14
- Joined: Thu Mar 29, 2012 10:13 am
Re: Configuration verification Hangs and never completes
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.)
-
partners.nagios
- Posts: 14
- Joined: Thu Mar 29, 2012 10:13 am
Re: Configuration verification Hangs and never completes
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Configuration verification Hangs and never completes
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
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Re: Configuration verification Hangs and never completes
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.
Code: Select all
$cfg['use_https'] = true; Once that is done, if it's still not working, access the Admin->System Profile page, and post the text document from that page.