Grafana-zabbix: Enable query for item value at templates

Created on 28 Jun 2017  路  6Comments  路  Source: alexanderzobnin/grafana-zabbix

I'm submitting a ...

  • [ ] Bug report
  • [X] Feature request
  • [ ] Question / Support request

Can we query for item value at templates? I need to use the value of an item A for query an item B.

datasource template variables feature request

Most helpful comment

Sometimes it may be useful. I should find a good way for this type of query.

All 6 comments

Sometimes it may be useful. I should find a good way for this type of query.

This would be very very useful for correlation data.

This has a valuable use case in conjunction with other plugins, the grafana-cloudwatch plugin can look things up by instance-id but presently there are cases where it can't look up the instance-id itself, for example "a list of the instance-ids attached to this elb or autoscaling group". I'd like to be able to push that info back into zabbix from the host itself, and then use the string data in template variables to query things in aws with repeat graphs and such.

being able to query item values right into template variables would be great for this

@alexanderzobnin any chance this will get worked on soon ? I have service that is made up of 20 individual microservices that are duplicated on multiple servers and scale horizontally as needed.

I wanted to have a graph panel per process showing its memory usage that we collect using Beats.

To avoid manually configuring this i wanted to template it and 'Repeat for each value'

So I have added the variable using a query to auto generate the list but when i try to use the variable in the Item field of the panel it does nothing.

I think it's possible with new Grafana variable query editor feature. So I'll try to implement this in next minor version.
Example of variable query editor:
https://github.com/grafana/grafana/issues/13561
https://github.com/grafana/grafana/pull/14007

Created #705 as well

Was this page helpful?
0 / 5 - 0 ratings

Related issues

felipemvieira picture felipemvieira  路  6Comments

samyscoub picture samyscoub  路  6Comments

pikaniou picture pikaniou  路  7Comments

tolstiyman picture tolstiyman  路  7Comments

heyrod picture heyrod  路  7Comments