grafana / grafana-zabbix

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

Failed to Get plugin Dashboard #1611

Open balajis2k opened 1 year ago

balajis2k commented 1 year ago

I installed my grafana in the zabbix server. I tried to connect to the dashboard but I'm facing "Failed to Plugin Dashboard". Zabbix version : 6.4 Grafana version: 9.4 image

Log: logger=context userId=1 orgId=1 uname=admin t=2023-04-04T12:23:38.507595059Z level=error msg="Failed to get plugin dashboards" error="file does not exist" remote_addr=... traceID= logger=context userId=1 orgId=1 uname=admin t=2023-04-04T12:23:38.507695462Z level=error msg="Request Completed" method=GET path=/api/plugins/alexanderzobnin-zabbix-datasource/dashboards status=500 remote_addr=... time_ms=21 duration=21.338693ms size=58 referer=http://localhost:3000/datasources/edit/uiyHxVLVz/dashboards handler=/api/plugins/:pluginId/dashboards/ I tried to follow this, but after that my grafana server is not starting anymore.

Tronyxsystem commented 1 year ago

I've exactly the same issue on my new installation of grafana/zabbix =/

wanit2 commented 1 year ago

Did you check Save$Test button in the Settings tab?

balajis2k commented 1 year ago

Did you check Save$Test button in the Settings tab?

yeah, it got tested and it displayed my zabbix version, when i tried to select the dashboard option. I was getting failed to plugin dashboard error

warderus commented 1 year ago

yeah, similar problem

Tronyxsystem commented 1 year ago
Screenshot 2023-04-12 at 18 01 16

Same issue.

New installation of zabbix in 6.4 and grafana in last version 9.4.7

Marauderrrr commented 1 year ago

Problem looks same with https://github.com/alexanderzobnin/grafana-zabbix/issues/1407

Marauderrrr commented 1 year ago

Same issue Grafana: 9.4.3 alexanderzobnin-zabbix-app: 4.3.1

Dir /var/lib/grafana/plugins/alexanderzobnin-zabbix-app doesn't contain subdirs: dashboards datasource-zabbix/dashboards

@alexanderzobnin, could you fix it?

moni92gm commented 1 year ago

I find myself in the same situation. I wanted to use the plugin for a university project but if there isn't a solution I won't be able to continue with the development. Could someone tell me if the synchronization works even if the dashboards are not there and if one could be created from scratch? I've been trying for days to find a solution.

ted678 commented 1 year ago

Same issue Grafana: 9.4.3 alexanderzobnin-zabbix-app: 4.3.1 image image Log: image

wanit2 commented 1 year ago

Thanks for help, ted678! Unfortunately it's not actually for me now, anyway thank you very much one more time!

Tronyxsystem commented 1 year ago

No news ? Solution ?

balajis2k commented 1 year ago

No news ? Solution ?

No, No reply or solution. Still having issue to connect Grafana with zabbix

ShadowViolets commented 1 year ago

Guys, downgrading the Zabbix plugin version to 4.2.10 solves the problem

Tronyxsystem commented 1 year ago

Guys, downgrading the Zabbix plugin version to 4.2.10 solves the problem

In 4.2.10 we have an other issue with the var user / username as you can read here => https://github.com/grafana/grafana-zabbix/issues/1583

And the fix doesn't work ...

aaujon commented 1 year ago

Hi, Same for me in 4.4.0, a workaround it to copy dashboards/ directory from git repository to local datasource-zabbix/ directory. Looks like a packaging issue.

alexanderzobnin commented 1 year ago

Ah, seems, dashboard folder is not copied during the build process. I'll fix it.

h0102 commented 1 year ago

我也碰到了同样的问题,zabbix6.4.3和GrafanaV10.1.1,加载的是V4.4.1的数据源插件,也是提示 image