grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.07k stars 457 forks source link

ItemID query value type [json: invalid use of ,string struct tag, trying to unmarshal] #1545

Open burakksglu opened 1 year ago

burakksglu commented 1 year ago

Hello Alexander and the community!

I've been struggling to use web.page.get items in a dashboard in grafana. My problem is that my item type is string but the pluging tries to convert it to float I think.

Is there any way to change this behavior or is this controlled in the code? Any help would be much appriciated.

We're using 9.0.3 Grafana in a local docker environment with 4.2.10 Zabbix Plugin.

Here's the error I get. I had this problem in both 4.1.5 and 4.2.10.

image

Here's my actual data in zabbix:

image

Here's the actual api response from Postman:

image
furkanevrenguzel commented 1 year ago

++