-
Notifications
You must be signed in to change notification settings - Fork 92
indirectproxy mode refreshes graphs #142
Comments
Yes it does, but far less then the normal proxy mode which will load the image every 10 seconds. Indirect proxy refreshs the image only after the normal check interval of the service/host. This is done by setting the image header "cache-control". |
Is there a way to disable reloading from the module? |
The module doesn't reload. It's icingaweb2 that refreshes pages every 10 seconds. But give me some days I will add an option to set cache time of the images in indirect proxy mode. |
Awesome! |
Sorry for commenting on an old issue, I would raise a new one if necessary. How would I start to debug if I see the image being re-rendered every ten seconds? Looking at the response headers, it seems the feature is not working in 1.4.2, or I may have a misconfiguration somewhere. (edit: I'm so sorry, it seems I was on master, not on v1.4.2 - with v1.3.6, which I now checked out manually, a version I know from another installation, everything seems okay now; I'll try v1.4.2 as well) The setup is: AWS loadbalancer -> two targets in a group (two master servers each serving icingaweb2) I'm using
Please advise on how I can help to get help with this, @Mikesch-mp, thanks for your time! |
When using
indirectproxy
to load graphs it seems that the graphs get refreshed very frequently while the service page of Icingaweb2 is open in our browsers.I could not find a way to disable this or change the frequency in the docs.
FYI, our config from
/etc/icingaweb2/modules/grafana/config.ini
:The text was updated successfully, but these errors were encountered: