Dashboards in Nagios Fusion fails URL links to a Nagios XI

This support forum board is for questions relating to Nagios Fusion.
Locked
aeckland1
Posts: 9
Joined: Thu Aug 30, 2018 12:41 pm

Dashboards in Nagios Fusion fails URL links to a Nagios XI

Post by aeckland1 »

Looking to add a dashboards in Nagios Fusion as URL links to a Nagios XI dashboard but every time it to loads we get a blank screen with the following error. Could you please review and let me know if there is a way to fix?

Refused to display 'https://<HOSTNAME>/nagiosxi/dashboards/dashboard.php?id=6Uh9MF' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

Response Header:

Code: Select all

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: Keep-Alive
Content-Security-Policy: frame-ancestors 'self'
Content-Type: text/html; charset=UTF-8
Date: Thu, 14 Feb 2019 22:12:44 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
Set-Cookie: nagiosxi=8711sq5fpqqu29q787vb8ds9h5; expires=Thu, 14-Feb-2019 22:42:44 GMT; path=/; secure; httponly
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Dashboards in Nagios Fusion fails URL links to a Nagios

Post by cdienger »

There are a couple of headers(Content-Security-Policy and X-Frame) that will prevent the content from being loaded outside of XI. I wouldn't recommend removing them but I did find extensions for Chrome that can allow the browser to ignore them:

https://chrome.google.com/webstore/deta ... pden?hl=en
https://chrome.google.com/webstore/deta ... d?hl=en-US
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked