Add Custom URL dashlet to dashboard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
[email protected]
Posts: 68
Joined: Wed Dec 27, 2017 2:20 pm
Location: Nieuwegein, The Netherlands
Contact:

Add Custom URL dashlet to dashboard

Post by [email protected] »

Hi all,
Is there a way to add a Custom URL dashlet to a dashboard?
All most used browsers (Firefox - Chrome - IE) won't allow to run a custom url within its dashboard page (it generates an error message).
I couldn't find any hits on this topic.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Add Custom URL dashlet to dashboard

Post by dchurch »

Hi!

What URL are you trying to load into the Custom URL dashlet?

The Custom URL dashlet loads the URL into an <iframe>. There are browser-enforced ways to prevent loading a site into an <iframe>, so if the server indicates it doesn't want its pages loaded into an <iframe>, there's really nothing we can reasonably do without modifying the server's code.

Basically, the server sends a header "X-Frame-Options: deny" and that indicates to the browser that it shouldn't display the page in a frame. This is to prevent clickjacking.

To make this work, the server would have to omit this header from the HTTP response.

- Current browsers supporting the X-Frame-Options header: https://caniuse.com/x-frame-options
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked