Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Wrong variable scope inside repeated rows #912

Closed
opeshm opened this issue Mar 27, 2020 · 1 comment
Closed

[Bug] Wrong variable scope inside repeated rows #912

opeshm opened this issue Mar 27, 2020 · 1 comment

Comments

@opeshm
Copy link
Contributor

opeshm commented Mar 27, 2020

Describe the bug
Using the Zabbix Problem visualization inside a row repeated using a template variable (called $entity), when I try to use the iterate variable in the Hostgroup input ( for example 'foo/bar/$entity'), the zabbix problem visualization uses the global variable $entity instead the one inside the repeated row.

Expected behavior
When the zabbix problem visualization is placed inside a repeated row, the hostgroups inputs should use the variable of the row instead of the global variable.

Screenshots
Template variable declaration:
image

Row repeat configuration:
image

Zabbix problem visualization config:
image

Result:
image

Network data
NO COMMENT

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
v6.6.2 (3fa63cfc34) Zabbix 4.2.8. 3.11.0

Thank you!

@opeshm
Copy link
Contributor Author

opeshm commented Mar 31, 2020

Hi!
I've just created a PR to fix this problem.
#913

Tell me if there is any problem or misstake.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants