Hello.
I making some auto generated graphs for network switches.
I’m using Repeating option for my interface variable to generate single graph for each interface. And I use $Interface
variable in Title graph.
And I need to know, is it possible to add one more variable to Title?
For example, switch interface have next information:
ifName=‘ethernet9’ and also has ifAlias=“client1”
And the goal is to set graph title like this: ethernet9 | client1
This is my query:
irate(ifHCInOctets{job=‘snmp’,instance=‘$Device’,ifName=~‘$Interface’}[5m]) * 8
and my variables:
And I also try to add $alias variable like this, but it just set same alias name for all ports: