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

Query mode TEXT returns no data for Last Value #1062

Closed
Positronico opened this issue Sep 26, 2020 · 13 comments
Closed

Query mode TEXT returns no data for Last Value #1062

Positronico opened this issue Sep 26, 2020 · 13 comments
Labels
Milestone

Comments

@Positronico
Copy link

Describe the bug
A query mode Text doesn't return the Last Value. When used in a Stat panel formatted as table, it shows No Data. When used in a Table panel formatted as a table, the Last Value is empty. Formatted as a Time Series, the time column for the collected data is correct, but the value column is empty.

Expected behavior
It was working as a Stat "legacy" mode, showing the last collected value and also as in table mode, on Grafana 7.1.5. Problem started after 7.2.0 update.

Screenshots
image
image

Network data
image

{"result":[{"clock":"1601074858","itemid":"34820","ns":"752173290","value":"x.x.x.x"},
{"clock":"1601074923","itemid":"34820","ns":"874368151","value":"x.x.x.x"},
{"clock":"1601074988","itemid":"34820","ns":"524686158","value":"x.x.x.x"},
(...)
{"clock":"1601096419","itemid":"34820","ns":"485776228","value":"x.x.x.x"}]}

Software versions

| Grafana | Zabbix | Grafana-Zabbix Plugin |
| ------- | ------ | --------------------- |
| 7.2.0   | 4.4.10 | 4.0.1                 |
@AhmadNourXV
Copy link

I'm having this issue as well. I reverted to 7.1.5 and the issue is fixed.

@roman-tiukh
Copy link

I have the same

@bastun-del
Copy link

I have the same problem with guarana 7.2.0 and Zabbix-server 5.0

@borjasueiro
Copy link

borjasueiro commented Oct 5, 2020

I have the same issue.

  • Grafana 7.2.0
  • Plugin 4.0.1
  • Zabbix 5.0.4

@adrianomazi
Copy link

adrianomazi commented Oct 5, 2020

I have the same issue.

  • Grafana 7.2.0
  • Plugin 4.0.1
  • Zabbix 5.0.4

@alexanderzobnin
Copy link
Collaborator

There's an issue in grafana repo: grafana/grafana#28042

@isaqueprofeta
Copy link

I have the same issue.

  • Grafana 7.2.1
  • Plugin 4.0.1
  • Zabbix 4.4.10

@Positronico
Copy link
Author

I think we have to reopen this one.

Ref.: grafana/grafana#27971

@alexanderzobnin
Copy link
Collaborator

alexanderzobnin commented Nov 9, 2020

I'm working on switching to the Data Frame format, so I think it should fix this issue.

@alexanderzobnin
Copy link
Collaborator

Ah, sorry. That's probably a replace variables issue. Could you try to set .* value to the text filter field? If it works in this case, then issue is fixed in 6c20b07 and will be released soon.

@cawhite6
Copy link

cawhite6 commented Nov 9, 2020

I can confirm the catch-all (.*) in filter populated the string value.....

Screen Shot 2020-11-09 at 9 13 42 AM

@alexanderzobnin
Copy link
Collaborator

Ok, that means bug is on the plugin side and fix will be included in the next release.

@alexanderzobnin alexanderzobnin added this to the 4.0.2 milestone Nov 10, 2020
@alexanderzobnin
Copy link
Collaborator

Fixed in 6c20b07

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

9 participants