grafana / grafana-zabbix

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

Data source not available #1459

Closed dantte-lp closed 12 months ago

dantte-lp commented 2 years ago

Good afternoon. The data source cannot load, although it is added to the exceptions

Screenshots 2022-06-10_120908 2022-06-10_121210 alexanderzobnin-zabbix-datasource.log

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
8.5.5 6.0.0 4.2.8

Oracle Linux Server release 8.6 5.4.17-2136.304.4.5.el8uek.x86_64 #2 SMP Wed Mar 9 15:08:23 PST 2022 x86_64 x86_64

giovanny07 commented 2 years ago

Did you activate the plugin? Is not recommended use zabbix in old versions. Use 6.0.4

dantte-lp commented 2 years ago

@giovanny07 Hello. The plugin is activated, zabbix does not play a role here at all, since the datasource does not appear in the list in grafana itself.

dantte-lp commented 2 years ago

I found this in error log nginx 2022/06/16 07:48:22 [error] 37772#37772: *1 open() "/usr/share/grafana/public/plugins/alexanderzobnin-zabbix-app/module.js" failed (2: No such file or directory), client: 172.21.20.119, server: grf-bor.xxxx.xxxx, request: "GET /public/plugins/alexanderzobnin-zabbix-app/module.js?_cache=4.2.8 HTTP/2.0", host: "grf-bor.xxxx.xxxx", referrer: "https://grf-bor.xxxx.xxxx/plugins/alexanderzobnin-zabbix-app"

there is no plugins directory in the /usr/share/grafana/public directory image

dantte-lp commented 2 years ago

Figured out, the problem was in nginx, he incorrectly redirected to the module.js, which is why the config page was not available

image

jorlandobr commented 2 years ago

@dantte-lp,

could you elaborate how did you solved that problem?

My system upgraded to grafana 9.0.1 and now I lost zabbix graphics.

dominikbenner commented 2 years ago

Figured out, the problem was in nginx, he incorrectly redirected to the module.js, which is why the config page was not available

image

Same issue here. What did you do to solve the problem?

baur commented 12 months ago

Grafana 10 Zabbix plugin installed and enabled but Data source ZABBIX is not available

direct access no Nginx

image

logger=context userId=1 orgId=1 uname=admin t=2023-10-18T10:26:09.6947604+06:00 
level=error msg="Request Completed" method=GET path=/api/gnet/plugins/alexanderzobnin-zabbix-app status=502
remote_addr=xx.xx.xx.xx time_ms=10 duration=10.0012ms size=0 
referer=http://karvideoserv03:3000/plugins/alexanderzobnin-zabbix-app handler=/api/gnet/*
zoltanbedi commented 12 months ago

@baur can you please open a separate issue with what you think is the issue?