Grafana module for Icingaweb2 - Custom Variables

Hello there,

I am having troubles to set up the module using custom variables.

I tried a lot of different approaches but it never turned into the desired result.

So far I got:

&var-service2=$display name$
&var-service2=$service.vars.display name$

But none of the above forwarded the vars to Grafana instead it took the vars literally including the ‘$’


What am I doing wrong here?

According to the official docs it should be pretty straight forward:

customVars = “&os=$os$”

Any hints appreciated :slight_smile:

In case someone wants to know:


It works for custom vars, not for built-in vars like you mentioned.


OK thx for the quick response

I solved it for me by differing the two metrics with a service and a command var.