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

Item tag filter not working properly after upgrade 4.3.0 #1594

Closed
leonanu opened this issue Mar 23, 2023 · 12 comments
Closed

Item tag filter not working properly after upgrade 4.3.0 #1594

leonanu opened this issue Mar 23, 2023 · 12 comments
Labels
Milestone

Comments

@leonanu
Copy link

leonanu commented Mar 23, 2023

Can not get network interfaces bits send/received metrics after upgrade 4.3.0

Zabbix Ver: 6.2.7
Grafana Ver: 9.3.8/9.3.11

@alexanderzobnin
Copy link
Collaborator

Could you explain it a bit? What's a query you have? What do you mean cannot get metric? In the list of metrics or the time series data?

@leonanu
Copy link
Author

leonanu commented Mar 23, 2023

The "Item" shows nothing. But rollback to 4.2.10 everything goes well.

image

@alexanderzobnin
Copy link
Collaborator

Are you sure item tag is right? You can delete tag and see if you can get interface names in the items.

@Angrik
Copy link

Angrik commented Mar 23, 2023

I have the same problem after update, not only with interfaces - a lot of tags shows empty items, for example 'Application: Filesystem' from linux, none of Exchange metrics shows etc. Everything was fine before update and zabbix wasnt touched. And i didn't figured out yet how to rollback to older plugin version in docker.

@alexanderzobnin
Copy link
Collaborator

@Angrik
https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/

Note: If you need to specify the version of a plugin, then you can add it to the GF_INSTALL_PLUGINS environment variable. Otherwise, the latest is used. For example: -e "GF_INSTALL_PLUGINS=grafana-clock-panel 1.0.1,grafana-simple-json-datasource 1.3.5".

@alexanderzobnin
Copy link
Collaborator

Hmm, that's strange. Do that tags exist in zabbix? Zabbix migrated applications to item tags, so maybe something happened here. Could you also clarify, do you see graphs on the dashboards? Or it both do not work - metrics list and graphs?

@Angrik
Copy link

Angrik commented Mar 23, 2023

Both not working - metrics list is empty thus 'no data' in graphs. Everything is fine and same in Zabbix, as it was 2 days ago.

@alexanderzobnin
Copy link
Collaborator

Ok, got it, will try to investigate.

@alexanderzobnin
Copy link
Collaborator

Confirmed, I have the same issue.

@alexanderzobnin
Copy link
Collaborator

I think the problem is in the wrong regex for tags. It does not handle properly spaces in tag value.

alexanderzobnin added a commit that referenced this issue Mar 23, 2023
@alexanderzobnin
Copy link
Collaborator

@Angrik Can you check it again and tell me if issue is only related to the tags with spaces in the value, like Application: Network interfaces? I fixed it, but want to double check if I found root cause correctly.

@Angrik
Copy link

Angrik commented Mar 23, 2023

Yeah, seems about right. NO spaces:
image
With spaces empty list:
image

@alexanderzobnin alexanderzobnin changed the title Can not get network interfaces bits send/received after upgrade 4.3.0 Item tag filter not working properly after upgrade 4.3.0 Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants