We have created a map that is part of a larger dashboard.
This one dashlet is only displaying if you are logged in as the admin user, the rest of the dashboard displays fine.
If I log in with my user, it displays a message on that part of the dashboard that says, "To protect your security, nagios01.myorg.mysite.edu will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window."
If I try to open in a new window, it says "Session timed out".
If I try it in Chrome, that part of the dashboard says "(servername) refused to connect".
This seems to be some sort of permission issue. How would I correct this?
Part of dashboard only displaying for admin user
Re: Part of dashboard only displaying for admin user
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
If you're using https:// in the URL you have in Admin > System Settings > Program URL, edit this file:
And change this:
To this:
Then try it again.
If you're using https:// in the URL you have in Admin > System Settings > Program URL, edit this file:
Code: Select all
/usr/local/nagiosxi/html/config.inc.phpCode: Select all
$cfg['use_https'] = false; Code: Select all
$cfg['use_https'] = true; Re: Part of dashboard only displaying for admin user
Profile sent.ssax wrote:Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Part of dashboard only displaying for admin user
Hi,
By the logs, It looks like you have configured SSL on this system? Please make sure you set the following option in /usr/local/nagiosxi/html/config.inc.php, and re-start apache after making the change
Make sure the program URL settings are correct. Admin > System Config > System Settings > General.
If that doesn't resolve the error, please loosen the user permissions on this account, and let me know if that dashlet displays. Also, please PM the following files to check the Apache setup. Thanks, Benjamin
By the logs, It looks like you have configured SSL on this system? Please make sure you set the following option in /usr/local/nagiosxi/html/config.inc.php, and re-start apache after making the change
Code: Select all
$cfg['use_https'] = true;
If that doesn't resolve the error, please loosen the user permissions on this account, and let me know if that dashlet displays. Also, please PM the following files to check the Apache setup. Thanks, Benjamin
Code: Select all
/etc/httpd/conf/httpd.con
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/ssl.conf
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Part of dashboard only displaying for admin user
Done.benjaminsmith wrote:Hi,
By the logs, It looks like you have configured SSL on this system? Please make sure you set the following option in /usr/local/nagiosxi/html/config.inc.php, and re-start apache after making the change
Code: Select all
$cfg['use_https'] = true;
Sent.benjaminsmith wrote:Also, please PM the following files to check the Apache setup. Thanks, BenjaminCode: Select all
/etc/httpd/conf/httpd.con /etc/httpd/conf.d/nagiosxi.conf /etc/httpd/conf.d/ssl.conf
Re: Part of dashboard only displaying for admin user
When you go to XI in your web browser, are you accessing it via https or http? See if it helps if you go to http:// instead of https://.
I see some https logs in your profile but you have Admin > Program URL set to http.
If you want it to use https, go to Admin > System Settings > Program URL and change it to use https in the URL. Then do the $cfg['use_https'] = true; step from above as well to make them match.
Try going to Admin > System Settings > Security tab and check the box next to Disable and see if that helps.
I see some https logs in your profile but you have Admin > Program URL set to http.
If you want it to use https, go to Admin > System Settings > Program URL and change it to use https in the URL. Then do the $cfg['use_https'] = true; step from above as well to make them match.
Try going to Admin > System Settings > Security tab and check the box next to Disable and see if that helps.