Page 1 of 1

Dashboards in Nagios Fusion fails URL links to a Nagios XI

Posted: Thu Feb 14, 2019 5:15 pm
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

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

Posted: Fri Feb 15, 2019 1:41 pm
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