Mikesch-mp / icingaweb2-module-grafana

Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
https://icinga.com/community/
GNU General Public License v2.0
240 stars 93 forks source link

Graph images not loaded over configured protocol #270

Closed jgrammen-agilitypr closed 2 years ago

jgrammen-agilitypr commented 3 years ago

The graph images are not using the same protocol as the configured protocol

image

It is loading the image of https even though I have http configured. The image link does respect the configured protocol

Expected Behavior

the png images should be loaded over the configured protocol

Current Behavior

the images are loaded over a different protocol than configured.

Possible Solution

Steps to Reproduce (for bugs)

  1. configure http as the protocol for the grafana plugin.
  2. open service page
  3. look in browser debug output, the png image is loaded over https regardless of configuration

Your Environment

Mikesch-mp commented 2 years ago

The images are loaded over the configured protocol, what you see is the indirect proxy url which is still a part of icingaweb2