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

plugin version 4.3.0 query ignoring selected application #1597

Closed
Tracked by #1814
net16789 opened this issue Mar 23, 2023 · 9 comments
Closed
Tracked by #1814

plugin version 4.3.0 query ignoring selected application #1597

net16789 opened this issue Mar 23, 2023 · 9 comments

Comments

@net16789
Copy link

After updating Grafana-Zabbix plugin to 4.3.0, item queries are no longer limited to the selected application.

In a query, selecting a Group, Host, Application then clicking the item field - all items associated with the host are presented.
The expected behavior as experienced with Grafana-Zabbix plugin 4.2.10 is that only items contained in the selected application would be presented, not all host items.
With Grafana-Zabbix plugin 4.3.0 this results in item query regex matching against all host items.
For example in addition to items in the CPU application, this query now unexpectedly returns items in the Memory application.
query

Environment:
Grafana-Zabbix plugin: 4.3.0, Direct DB Connection enabled
Grafana: v9.4.3
Zabbix: 5.0.3, MySQL DB

@alexanderzobnin
Copy link
Collaborator

Ok, I'll try to test it out against Zabbix 5.0

@alexanderzobnin alexanderzobnin added this to the 4.3.2 milestone Mar 23, 2023
@Teofaness
Copy link

After updating Grafana-Zabbix plugin to 4.3.0, item queries are no longer limited to the selected application.

In a query, selecting a Group, Host, Application then clicking the item field - all items associated with the host are presented. The expected behavior as experienced with Grafana-Zabbix plugin 4.2.10 is that only items contained in the selected application would be presented, not all host items. With Grafana-Zabbix plugin 4.3.0 this results in item query regex matching against all host items. For example in addition to items in the CPU application, this query now unexpectedly returns items in the Memory application. query

Environment: Grafana-Zabbix plugin: 4.3.0, Direct DB Connection enabled Grafana: v9.4.3 Zabbix: 5.0.3, MySQL DB

I have a same problem!

@alexanderzobnin alexanderzobnin modified the milestones: 4.3.2, 4.4 Jul 27, 2023
@alexanderzobnin
Copy link
Collaborator

Could you please confirm it with the latest plugin version? I cannot replicate the issue, in my case app filter works correctly. I tried Zabbix 5.0 and 5.2.

@alexanderzobnin
Copy link
Collaborator

The only thing I've found that seems to be working not as expected is when app filter is specified, but app is not found. In this case all items will be returned and app filter works as empty. So try to double check you have correct app name.

@rike50
Copy link

rike50 commented Aug 2, 2023

The only thing I've found that seems to be working not as expected is when app filter is specified, but app is not found. In this case all items will be returned and app filter works as empty. So try to double check you have correct app name.

Correct, i test the same thing with plugin v 4.3.1 and Zabbix 5.2.7, there is no issue, except if app doesn't exist.

@Teofaness
Copy link

A única coisa que descobri que parece não estar funcionando conforme o esperado é quando o filtro do aplicativo é especificado, mas o aplicativo não é encontrado. Nesse caso, todos os itens serão retornados e o filtro do aplicativo funciona como vazio. Portanto, tente verificar se o nome do aplicativo está correto.

The error only occurs with the zabbix 5 version as shown in the photo below
on version 5.0
image

on version 6.0
image

@alexanderzobnin
Copy link
Collaborator

Ok, so I'm closing this as solved.

@e-nighthaven
Copy link

e-nighthaven commented Feb 6, 2024

so, it won't be fixed for zabbix 5.0? i have the same issue on zabbix 5.0.31

@yoke88
Copy link

yoke88 commented Apr 9, 2024

zabbix 4.0.18 with grafana-zabbix 4.4.6 filtering items by applications not work
image

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

6 participants