Graphs are not displayed

Hi.
I have migrated icinga master to a new server, changed from influxdb to influxdb2 and from ido-mysql to icingadb.
Every module is configured and works.
Unfortunately, the graphs are not displayed. But, if I click the graph location (the url to grafana is enabled), the page is opened but the query is not executed.
Any idea if this might be an issue to icinga or grafana module? Or is just grafana itself?

  • Icinga Web 2 version
    2.11.3

  • Used modules and their versions (System - About)
    |doc ||2.11.3|
    |grafana ||2.0.3|
    |icingadb ||1.1.3|
    |icingalegacytheme ||1.0.0|
    |incubator ||0.22.0|
    |map ||2.0.0|
    |migrate ||2.11.3|
    |setup ||2.11.3|
    |vspheredb ||1.7.1|
    |x509 ||1.3.2|

  • Web browser used
    chrome, firefox

  • Icinga 2 version used (icinga2 --version)
    r2.13.7-1

  • PHP version used (php --version)
    v8.0.30

  • Server operating system and version
    AlmaLinux 9.4

Check if the graphs are available directly through grafana.
Keep in mind that for migration from influxdb1 to influxdb2 of your graphs the datasource is not the same anymore.

also there is work to use v1 api in your icinga2 bucket if you want to use the old influxql dashboards:

or you migrate your dashboard to flux:

Hi. Data from influx1 is migrated to influx2 and can see the graphs directly in grafana. I’ve also tried to set a new datasource with flux, graphs are displayed in gfafana but same story in icinga.

also, a strange think is the hostalive service which has a separate graph set in icinga, and it’s showing on the host monitoring page

Downgrading grafana to 11.2.3 solved the issue.
seems like grafana 11.3 have some changes that create this issue.

from what I found, it’s related to how the request is made

1 Like

You can use grafana v11.3.0 if you change the variables (hostname,service) from constant to custom:
image

Hi and thanks for the info.
Unfortunately, my variables are query type and the data source is using influxql.
I’ve tried to set them to custom but is not working

LE: I’m so dumb, didn’t saved the dashboard after the changes… I confirm that changing to custom variable, from query, in my case, it fixes the issue

1 Like