neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
179 stars 75 forks source link

Templating Variables #42

Open packtman opened 7 years ago

packtman commented 7 years ago

I am trying to play around with Templating variables. I created few variables, but it doesn't give me desired result.

I am trying to get a result as shown in the attached image. 687474703a2f2f726574746c2e6f72672f736372697074732f564d506572662d47726166616e612d53637265656e73686f742e706e67

I want to get the results by selecting one of the values from Groups -> one of the values from Host -> one of the values from Sensor and finally channel, along with top resources.

My variables give out all the values of each Group, host, sensor and channel.

test

Can you please explain a bit more about how to use templating variables with images if possible?

Once this works out I wish to pull request and write a detailed explanation about Templating variables :)

Please let me know if you need more information.

Thanks.

neuralfraud commented 7 years ago

@packtman Try the code in "development" - it supports multiple item template variables, and a whole bunch more. still in progress so there's little documentation - just open a new issue if you have questions!