# Graphs are not displayed

**URL:** <https://community.icinga.com/t/graphs-are-not-displayed/14245>\
**Category:** Icinga DB Web\
**Created:** [October 29, 2024, 5:57pm UTC](https://community.icinga.com/t/graphs-are-not-displayed/14245 "2024-10-29T17:57:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lrk](https://community.icinga.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@lrk](https://community.icinga.com/u/lrk)\
**Post date:** [November 15, 2024, 7:31am UTC](https://community.icinga.com/t/graphs-are-not-displayed/14245/5 "2024-11-15T07:31:05Z")

</div>

You can use grafana v11.3.0 if you change the variables (hostname,service) from constant to custom:  
 ![image](https://community.icinga.com/uploads/default/original/2X/4/4a057d4b20581f7a84801982da6e4baf22c1d0bc.png)

> <https://github.com/Mikesch-mp/icingaweb2-module-grafana/issues/344>
>
> \## What happened?
> 
> Like described in this issue for grafana Variables are not …passed to the dashboards.
> https://github.com/grafana/grafana/issues/95466
> 
> \## Possible Solution
> Change CONSTANT Variables to CUSTOM Variables.
> 
> \## Steps to Reproduce (for bugs)
> 
> icingaweb + icingadb-web
> grafana module with grafana iframe integration
> grafana 11.3.0
> 
> \## Your Environment
> Grafana 11.3.0
> 
> Icinga Web 2 Version 2.12.1
> PHP Version 8.1.2-1ubuntu2.19
>  
> Loaded Libraries
> icinga/icinga-php-library 0.14.1
> icinga/icinga-php-thirdparty 0.12.1
>  
> Loaded Modules
> grafana 2.0.3 Configure
> icingadb 1.1.3 Configure
> incubator 0.22.0 Configure

> <https://github.com/grafana/grafana/issues/95466>
>
> \### What happened?
> 
> After upgrade to 11.3.0 \_Flux\_ queries in dashboards stopped… working when they were using variables.
> 
> \### What did you expect to happen?
> 
> Dashboards queries work as before.
> 
> \### Did this work before?
> 
> 11.2.2 with security fix and after the downgrade to 11.2.3 data is shown (again)
> 
> \### How do we reproduce it?
> 
> 1. Have a dashboard with a variable of type constant and a Flux query
> !\[Image\](https://github.com/user-attachments/assets/a7a92541-5750-4220-abe4-fc78a6cbf4a8)
> 
> !\[Image\](https://github.com/user-attachments/assets/bbc32a8a-d360-463e-a220-5041c29c92f2)
> 
> 
> 2. This yields "No data" in the dashboard when adding the required variables to the URL
> 3. Changing the query to fixed values and it works (tested using "Explore" option of the datasource)
> !\[Image\](https://github.com/user-attachments/assets/acc4b209-1fdf-459c-81c3-4e38a4a87697)
> 
> 
> 
> \### Is the bug inside a dashboard panel?
> 
> \_No response\_
> 
> \### Environment (with versions)?
> 
> Grafana: 11.3.0
> OS: Ubuntu 22.04.5
> Browser: Chrome
> 
> 
> \### Grafana platform?
> 
> None
> 
> \### Datasource(s)?
> 
> InfluxDB v2.7.10

---

_[View the full topic](https://community.icinga.com/t/graphs-are-not-displayed/14245)._
