question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use a query with data source Zabbix

See original GitHub issue

Describe the bug Can’t use a query with data source Zabbix because there is no field to create the query.

Expected behavior Create a new empty panel at any dashboard with data source Zabbix. Expected to add and edit the query for the data source but there are no input fields to edit the query. Also, I see multiple errors in the browser console. It happened after the Zabbix server update probably.

Screenshots image image

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
8.3.1 5.4.8 4.2.4

Important update I’m using Apache as reverse proxy, so I tried to access the Grafana directly (http:// and port 3000) but it doesn’t resolve the problem and I see the same errors so it’s not in Apache. I’m getting errors like Error: [$templateRequest:tpload] Failed to load template: public/plugins/alexanderzobnin-zabbix-datasource/datasource-zabbix/partials/query.editor.html (HTTP status: 404 Not Found) https://errors.angularjs.org/1.8.2/$templateRequest/tpload?p…-zabbix%2Fpartials%2Fquery.editor.html&p1=404&p2=Not%20Found.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:12
  • Comments:45 (5 by maintainers)

github_iconTop GitHub Comments

13reactions
alexanderzobnincommented, Dec 20, 2021

Ok, confirmed. This is Grafana 8.3.2-8.3.3 bug. The fix will be available in both 8.4 and 8.3.4, so next Grafana release will fix the issue. I will let this open for a while until I we are sure that’s fixed.

10reactions
Henry78commented, Dec 14, 2021

How I fixed it:

# grafana.ini
[plugins]
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-app, alexanderzobnin-zabbix-datasource, alexanderzobnin-zabbix-triggers-panel
# Fix bug (grafana-zabbix/issues/1355)
# after changing the plugin, the checksum doesn't match anymore
# So we have to remove the Manifest and allow loading of unsigned plugins (see grafana.ini)
sed -i 's/datasource-zabbix\///g' /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/module.js
rm /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/MANIFEST.txt
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot edit Query with Zabbix as datasource - Configuration
Hi everyone, I'm running Grafana inside a Docker container, already installed the Zabbix plugin (PLUGIN) and successfully connected the  ...
Read more >
Grafana integration - ZABBIX Forums
The database user should only be granted SELECT permissions on the specified database & tables you want to query. Grafana does not validate...
Read more >
Zabbix Data Source - Grafana Tutorials - sbcode.net
The steps to get it working again are, Delete your Zabbix data source using Grafana UI --> Configuration --> Data Sources. Disable and...
Read more >
Grafana not showing query editing anymore after dashboard ...
I noticed that the directory C:\grafana-9.2.3\data\plugins\alexanderzobnin-zabbix-app\datasource-zabbix\datasource-zabbix\ did not exist, ...
Read more >
Data source permissions - Amazon Managed Grafana
If you enable permissions for the default data source, users who are not listed in the permissions are unable to invoke queries. Panels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found