Grafana-zabbix: Data source fails when "Direct DB connection" enabled

Created on 22 Apr 2018  Â·  11Comments  Â·  Source: alexanderzobnin/grafana-zabbix

I'm submitting a ...

  • Bug report

Software Versions

| Grafana | Zabbix | Grafana-Zabbix Plugin |
| ------- | ------ | --------------------- |
| 5.1.0-beta1 | 3.4.8 | 3.9.0 |

What did you do?

Updated Grafana to 5.1.0. and Grafana-Zabbix plugin from 3.7.0 to 3.9.0

What was the expected result?

Just a regular update of Grafana.

What happened instead?

Data was no longer retrieved. The following message is displayed in data source configuration GUI:

Connection failed: Column metric must be of type char,varchar or text, got: *uint64 0xc420582b78

Via Zabbix API all is working as usual.

data

DB connector datasource bug

Most helpful comment

@Ziranium try to clear browser cache.

All 11 comments

same issue as well, atm with grafana-5.2.0-15081pre1 and zabbix 3.4.7 and plugin 3.9 and the same issue.

Connection failed: Column metric must be of type char,varchar or text, got: *uint64 0xc4208aed98

Confirmed, get the same after Grafana update.

Release will be as soon as possible.

hi,

Same issue with grafana 5.1.0, zabbix 3.4.8 and plugin in v3.9.
Connection failed: Column metric must be of type char,varchar or text, got: *uint64 0xc420033218

Same here.
Software Versions

| Grafana | Zabbix | Grafana-Zabbix Plugin |
| ------- | ------ | --------------------- |
| v5.1.0 (commit: 844bdc53a) | 3.4.8 | 3.9.0|

image

Hello.
I just updated to 3.9.1 and issue still here after restart grafana :
image

Software versions :
grafana : 5.1.0
zabbix : 3.4.8

@Ziranium try to clear browser cache.

Thanks ! with a full reload (ctrl+f5) it's now fine.

Just a question - how frequently does Grafana (as in grafana-cli) look for updates?

[root@559953 ~]# grafana-cli plugins list-remote | grep zab
id: alexanderzobnin-zabbix-app version: 3.9.0
[root@559953 ~]# grafana-cli plugins install alexanderzobnin-zabbix-app 3.9.1

Error: ✗ Could not find the version your looking for

NAME:
   Grafana cli plugins install - install <plugin id> <plugin version (optional)>

USAGE:
   Grafana cli plugins install [arguments...]
[root@559953 ~]#

3.9.1 release wasn't merged yet. See this PR https://github.com/grafana/grafana-plugin-repository/pull/271

Thanks for the fast release - I just updated and everything is working again now :)

Was this page helpful?
0 / 5 - 0 ratings