grafana / grafana-zabbix

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

Cannot open zabbix Data source #1326

Open EduardUsatchev opened 2 years ago

EduardUsatchev commented 2 years ago

Error: Unexpected token '<' Evaluating https://10.62.168.56/grafana/public/@emotion/css Loading plugins/alexanderzobnin-zabbix-app/datasource-zabbix/module

EduardUsatchev commented 2 years ago

[cellwize@tspd-logstash-app01-p grafana]$ cat /opt/grafana/logs/grafana.log | grep -i zabbix t=2021-10-06T14:06:06+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=alexanderzobnin-zabbix-datasource" t=2021-10-06T14:06:06+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:06:06+0000 lvl=info msg="Registering plugin" logger=plugins name="Zabbix Problems" t=2021-10-06T14:06:06+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:06:06+0000 lvl=dbug msg="starting plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 args=[/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64] t=2021-10-06T14:06:06+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-triggers-panel dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/panel-triggers t=2021-10-06T14:06:06+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-datasource dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix t=2021-10-06T14:06:06+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-app dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app t=2021-10-06T14:06:06+0000 lvl=dbug msg="plugin started" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 pid=24 t=2021-10-06T14:06:06+0000 lvl=dbug msg="waiting for RPC address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 t=2021-10-06T14:06:06+0000 lvl=info msg=Profiler logger=plugins plugin-id=alexanderzobnin-zabbix-datasource enabled=false timestamp=2021-10-06T14:06:06.496Z t=2021-10-06T14:06:06+0000 lvl=dbug msg="Could not read environment variable" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource EXTRA_VALUE_AT_END=GFX_ZABBIX_DATA_PATH timestamp=2021-10-06T14:06:06.496Z t=2021-10-06T14:06:06+0000 lvl=dbug msg="Starting Zabbix datasource" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource timestamp=2021-10-06T14:06:06.496Z t=2021-10-06T14:06:06+0000 lvl=dbug msg="Serving plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource plugins="[diagnostics resource data]" timestamp=2021-10-06T14:06:06.497Z t=2021-10-06T14:06:06+0000 lvl=dbug msg="plugin address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource address=/tmp/plugin013461371 network=unix timestamp=2021-10-06T14:06:06.499Z t=2021-10-06T14:06:06+0000 lvl=dbug msg="using plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource version=2 t=2021-10-06T14:06:16+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get https://grafana.com/api/plugins/versioncheck?slugIn=alexanderzobnin-zabbix-triggers-panel,alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-app&grafanaVersion=6.5.3: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" t=2021-10-06T14:16:26+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get https://grafana.com/api/plugins/versioncheck?slugIn=alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-triggers-panel,alexanderzobnin-zabbix-datasource&grafanaVersion=6.5.3: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" t=2021-10-06T14:18:06+0000 lvl=dbug msg="Killing subprocess " logger=plugins plugin-id=alexanderzobnin-zabbix-datasource name=Zabbix t=2021-10-06T14:18:06+0000 lvl=dbug msg="Plugin server exited" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource timestamp=2021-10-06T14:18:06.112Z t=2021-10-06T14:18:06+0000 lvl=dbug msg="plugin process exited" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 pid=24 t=2021-10-06T14:18:06+0000 lvl=dbug msg="plugin exited" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource t=2021-10-06T14:18:15+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=alexanderzobnin-zabbix-app" t=2021-10-06T14:18:15+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:18:15+0000 lvl=info msg="Registering plugin" logger=plugins name="Zabbix Problems" t=2021-10-06T14:18:15+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:18:16+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-triggers-panel dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/panel-triggers t=2021-10-06T14:18:16+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-datasource dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix t=2021-10-06T14:18:16+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-app dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app t=2021-10-06T14:18:16+0000 lvl=dbug msg="starting plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 args=[/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64] t=2021-10-06T14:18:16+0000 lvl=dbug msg="plugin started" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 pid=22 t=2021-10-06T14:18:16+0000 lvl=dbug msg="waiting for RPC address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 t=2021-10-06T14:18:16+0000 lvl=info msg=Profiler logger=plugins plugin-id=alexanderzobnin-zabbix-datasource enabled=false timestamp=2021-10-06T14:18:16.031Z t=2021-10-06T14:18:16+0000 lvl=dbug msg="Could not read environment variable" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource EXTRA_VALUE_AT_END=GFX_ZABBIX_DATA_PATH timestamp=2021-10-06T14:18:16.031Z t=2021-10-06T14:18:16+0000 lvl=dbug msg="Starting Zabbix datasource" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource timestamp=2021-10-06T14:18:16.031Z t=2021-10-06T14:18:16+0000 lvl=dbug msg="Serving plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource plugins="[data diagnostics resource]" timestamp=2021-10-06T14:18:16.031Z t=2021-10-06T14:18:16+0000 lvl=dbug msg="plugin address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource address=/tmp/plugin042357600 network=unix timestamp=2021-10-06T14:18:16.032Z t=2021-10-06T14:18:16+0000 lvl=dbug msg="using plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource version=2 t=2021-10-06T14:18:26+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get https://grafana.com/api/plugins/versioncheck?slugIn=alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-triggers-panel&grafanaVersion=6.5.3: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" t=2021-10-06T14:28:36+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get https://grafana.com/api/plugins/versioncheck?slugIn=alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-triggers-panel,alexanderzobnin-zabbix-datasource&grafanaVersion=6.5.3: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

EduardUsatchev commented 2 years ago

docker-compose -f /opt/compose-files/grafana/docker-compose.yml up --force-recreate -d && tail -f /opt/grafana/logs/grafana.log Recreating grafana_grafana-plugins_1 ... done Recreating grafana ... done t=2021-10-06T14:37:38+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index cache_data.cache_key" t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing HTTPServer" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing OSSLicensingService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing SearchService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing RemoteCache" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing QuotaService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing ServerLockService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing UserAuthTokenService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing PluginManager" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Starting plugin search" logger=plugins t=2021-10-06T14:37:38+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:37:38+0000 lvl=info msg="Registering plugin" logger=plugins name="Zabbix Problems" t=2021-10-06T14:37:38+0000 lvl=info msg="Registering plugin" logger=plugins name=Zabbix t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing RenderingService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing AlertEngine" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing DatasourceCacheService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing HooksService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing LoginService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing InternalMetricsService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing TracingService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing UsageStatsService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing CleanUpService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing NotificationService" logger=server t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing provisioningServiceImpl" logger=server t=2021-10-06T14:37:38+0000 lvl=dbug msg="Looking for alert notification provisioning files" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers t=2021-10-06T14:37:38+0000 lvl=dbug msg="Validating alert notifications" logger=provisioning.notifiers t=2021-10-06T14:37:38+0000 lvl=dbug msg="NOTIFY_SOCKET environment variable empty or unset, can't send systemd notification" logger=server t=2021-10-06T14:37:38+0000 lvl=dbug msg="Waiting on services..." logger=server t=2021-10-06T14:37:38+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-triggers-panel dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/panel-triggers t=2021-10-06T14:37:38+0000 lvl=info msg="Backend rendering via phantomJS" logger=rendering t=2021-10-06T14:37:38+0000 lvl=dbug msg="starting plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 args=[/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64] t=2021-10-06T14:37:38+0000 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering t=2021-10-06T14:37:38+0000 lvl=dbug msg="Found old rendered image to delete" logger=cleanup deleted=0 kept=0 t=2021-10-06T14:37:38+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-datasource dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix t=2021-10-06T14:37:38+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/alexanderzobnin-zabbix-app dir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app t=2021-10-06T14:37:38+0000 lvl=info msg="Initializing Stream Manager" t=2021-10-06T14:37:38+0000 lvl=dbug msg="plugin started" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 pid=23 t=2021-10-06T14:37:38+0000 lvl=dbug msg="waiting for RPC address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource path=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 t=2021-10-06T14:37:38+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl=/grafana socket= t=2021-10-06T14:37:38+0000 lvl=info msg=Profiler logger=plugins plugin-id=alexanderzobnin-zabbix-datasource enabled=false timestamp=2021-10-06T14:37:38.357Z t=2021-10-06T14:37:38+0000 lvl=dbug msg="Could not read environment variable" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource EXTRA_VALUE_AT_END=GFX_ZABBIX_DATA_PATH timestamp=2021-10-06T14:37:38.357Z t=2021-10-06T14:37:38+0000 lvl=dbug msg="Starting Zabbix datasource" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource timestamp=2021-10-06T14:37:38.357Z t=2021-10-06T14:37:38+0000 lvl=dbug msg="Serving plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource plugins="[data diagnostics resource]" timestamp=2021-10-06T14:37:38.357Z t=2021-10-06T14:37:38+0000 lvl=dbug msg="plugin address" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource address=/tmp/plugin669846702 network=unix timestamp=2021-10-06T14:37:38.358Z t=2021-10-06T14:37:38+0000 lvl=dbug msg="using plugin" logger=plugins plugin-id=alexanderzobnin-zabbix-datasource version=2 t=2021-10-06T14:37:38+0000 lvl=dbug msg="Looking for App Dashboard Updates" logger=plugins t=2021-10-06T14:37:38+0000 lvl=dbug msg="Checking for updates" logger=plugins t=2021-10-06T14:37:39+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=0 t=2021-10-06T14:37:48+0000 lvl=dbug msg="Failed to get plugins repo from grafana.com, Get https://grafana.com/api/plugins/versioncheck?slugIn=alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-triggers-panel,alexanderzobnin-zabbix-datasource&grafanaVersion=6.5.3: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" t=2021-10-06T14:37:49+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=0 t=2021-10-06T14:37:59+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=0

EduardUsatchev commented 2 years ago

Any suggestions ?

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!