Data Missing on Web Interface using https
-
selectport
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Data Missing on Web Interface using https
When we log in to the web interface using "https", data is missing. For example, I need to enable service checks. I went to "Process Info" under the "Home" tab, but it says there is no data under the MOnitoring Engine Process. However, when I access the site via "http", I see all the metrics/values/actions and can make changes.
We are wondering if this is the problem: we installed the 2011R1.3 update yesterday, and per the 2011R1.3 changes (http://assets.nagios.com/downloads/nagi ... S-2011.TXT), the config.inc.php file needs have "$cfg['use_https']=true" added to it. However, there are 5 different files of this name. Is this what is causing the above issue? Which file needs to be updated? Here is a list:
./usr/local/nagios/share:
config.inc.php
./usr/local/nagiosxi/html:
config.inc.php
./usr/local/nrdp/server:
config.inc.php
./usr/share/doc/mrtg-2.16.4/contrib/mrtg_php_portal/conf:
config.inc.php
./usr/share/phpmyadmin:
config.inc.php
We are wondering if this is the problem: we installed the 2011R1.3 update yesterday, and per the 2011R1.3 changes (http://assets.nagios.com/downloads/nagi ... S-2011.TXT), the config.inc.php file needs have "$cfg['use_https']=true" added to it. However, there are 5 different files of this name. Is this what is causing the above issue? Which file needs to be updated? Here is a list:
./usr/local/nagios/share:
config.inc.php
./usr/local/nagiosxi/html:
config.inc.php
./usr/local/nrdp/server:
config.inc.php
./usr/share/doc/mrtg-2.16.4/contrib/mrtg_php_portal/conf:
config.inc.php
./usr/share/phpmyadmin:
config.inc.php
Re: Data Missing on Web Interface using https
The XI config settings are located in this file:
/usr/local/nagiosxi/html/config.inc.php
/usr/local/nagiosxi/html/config.inc.php
Re: Data Missing on Web Interface using https
That solution didn't seem to work.
After adding, $cfg['use_https']=true; to /usr/local/nagiosxi/html/config.inc.php. We performed the following commands.
"service httpd restart"
"service nagios restart"
We also rebooted the server itself.
We also tried adding $cfg['use_https']="true"; to the config.inc.php, but that didn't seem to work either.
Any ideas of what we can do, or what we need to check to get the "Monitoring Engine Process" to work on the web interface using "https?"
Thanks!
After adding, $cfg['use_https']=true; to /usr/local/nagiosxi/html/config.inc.php. We performed the following commands.
"service httpd restart"
"service nagios restart"
We also rebooted the server itself.
We also tried adding $cfg['use_https']="true"; to the config.inc.php, but that didn't seem to work either.
Any ideas of what we can do, or what we need to check to get the "Monitoring Engine Process" to work on the web interface using "https?"
Thanks!
Re: Data Missing on Web Interface using https
A few other users are experiencing issues with https, we did some recent updates to create full support for ssl, but there may be some issues that our test environment didn't reveal, so we may have to keep digging on this. In the meantime, you may need to leave port 80 open for backend calls to fetch data correctly. We thought we fixed them all, but it's possible we missed something somewhere.
Re: Data Missing on Web Interface using https
Are you using a virtual host name for your XI server?
-
selectport
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Re: Data Missing on Web Interface using https
Mguthrie,
We are not using a virtual host name for the server.
We are not using a virtual host name for the server.
Re: Data Missing on Web Interface using https
Ok, I think we found the issue. We tried a fix in the below snapshot, and one user reporting https reports the fix resolved their issue. If you can give it a try and let us know how it goes we'll get the snapshot posted as our next point release.
Development Snapshot posted at the following URL. Download to the /tmp directory, untar, and run the "upgrade" script.
http://assets.nagios.com/downloads/nagi ... 654.tar.gz
Let us know how it goes : )
Development Snapshot posted at the following URL. Download to the /tmp directory, untar, and run the "upgrade" script.
http://assets.nagios.com/downloads/nagi ... 654.tar.gz
Let us know how it goes : )
-
selectport
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Re: Data Missing on Web Interface using https
The snapshot didn't fix the problem. After installing the snapshot/upgrade, the Monitoring Engine Process still showed no information using https. It also caused it to not show using http. Please see screenshot below

Also, after installing the snapshot, Stopping the nagios service did not work (service nagios restart). See screenshot below.

Thanks :]

Also, after installing the snapshot, Stopping the nagios service did not work (service nagios restart). See screenshot below.

Thanks :]
Re: Data Missing on Web Interface using https
Thanks for the feedback. Can you have you send us a few more details so we can get this nailed down?
Are you using mod_rewrite for the SSL, and can you send us the config you're using to enforce it?
Does the data display when port 80 is left open?
Are you using a proxy on your install?
The /usr/local/nagiosxi/html/config.inc.php should read this way:
Are you able to get an "Apply Configuration" to complete successfully with your current SSL configuration?
The new fixes appear to work for some users, so I'm guessing there's a configuration difference on the server that we still haven't accounted for.
Are you using mod_rewrite for the SSL, and can you send us the config you're using to enforce it?
Does the data display when port 80 is left open?
Are you using a proxy on your install?
The /usr/local/nagiosxi/html/config.inc.php should read this way:
Code: Select all
$cfg['use_https']=true;The new fixes appear to work for some users, so I'm guessing there's a configuration difference on the server that we still haven't accounted for.
-
selectport
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Re: Data Missing on Web Interface using https
Are you using mod_rewrite for the SSL, and can you send us the config you're using to enforce it?
Answer: No we are not using mod_rewrite, and we are not currently enforcing SSL.
Does the data display when port 80 is left open?
Answer: Yes
Are you using a proxy on your install?
Answer: No
The /usr/local/nagiosxi/html/config.inc.php should read this way:
Code: Select all$cfg['use_https']=true;
Answer: Yes, it is set exactly as shown above in the config.inc.php file.
Are you able to get an "Apply Configuration" to complete successfully with your current SSL configuration?
Answer: No, it does not. It says "Applying" but never finishes with SSL.
The new fixes appear to work for some users, so I'm guessing there's a configuration difference on the server that we still haven't accounted for.
Answer: No we are not using mod_rewrite, and we are not currently enforcing SSL.
Does the data display when port 80 is left open?
Answer: Yes
Are you using a proxy on your install?
Answer: No
The /usr/local/nagiosxi/html/config.inc.php should read this way:
Code: Select all$cfg['use_https']=true;
Answer: Yes, it is set exactly as shown above in the config.inc.php file.
Are you able to get an "Apply Configuration" to complete successfully with your current SSL configuration?
Answer: No, it does not. It says "Applying" but never finishes with SSL.
The new fixes appear to work for some users, so I'm guessing there's a configuration difference on the server that we still haven't accounted for.