Host Changes not taking effect via https

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
emperaza
Posts: 16
Joined: Fri Apr 15, 2011 12:08 pm

Host Changes not taking effect via https

Post by emperaza »

Hello,

I noticed that there have been several posts regarding issues with ssl. The only bug I have noticed is that changes made by selecting "Re-configure this host" in the Configure tab of the Host Detail Page are not taking effect over ssl. Additionally, changes made through the Core Config Manager do stick, however the Sync Status remains "Out of Sync" even after selecting Apply Configuration. My work around for the time being has been to use the Core Configuration Export tool to write the monitoring data as my organization requires all sites to be over ssl.

I am running 2011r1.5 on a RHEL 5.5 64bit, to enforce ssl I am using mod_rewrite the only modification I have made to my httpd.conf file are the following three lines:

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I would appreciate any suggestions thanks,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host Changes not taking effect via https

Post by mguthrie »

You'll need to set the following variable in the /usr/local/nagiosxi/html/config.inc.php file:

Code: Select all

$cfg['use_https'] = true; 
Also make sure in the Admin->System Settings page you have the program URL set to use https.

We're still working some of the bugs out with https, so let us know how it goes.
Locked