Grafana-Zabbix plugin is still not working after the unsigned plugin config change.

See original GitHub issue

The plugin is not loading / working correctly My working grafana / zabbix versions are : Zabbix 4.4.4 / Grafana 6.4 / Zabbix-Grafana plugin 3.4

After the complete upgrade to Zabbix v5. / Grafana 7.1.5 / Zabbix-Grafana to 4.0.0 version , the working dashboards are not displaying the correct values. Some dashboard have lost their normal aspect. I see some anormal log lines in grafana log.

t=2020-08-31T20:07:44+0300 lvl=warn msg="Some plugins failed to load" logger=plugins errors="[plugin \"alexanderzobnin-zabbix-datasource\" is unsigned Plugin with ID \"grafana-worldmap-panel\" already exists]" t=2020-08-31T20:07:45+0300 lvl=eror msg="Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory" t=2020-08-31T20:07:45+0300 lvl=info msg="Syncing plugin dashboards to DB" logger=plugins pluginId=alexanderzobnin-zabbix-app t=2020-08-31T20:07:45+0300 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket= t=2020-08-31T20:08:03+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:10:41+0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/plugins/alexanderzobnin-zabbix-datasource/settings status=404 remote_addr=10.212.133.7 time_ms=1 size=64 referer=http://zabbix.horoz:3000/datasources/edit/1/ t=2020-08-31T20:16:30+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:16:38+0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/plugins/alexanderzobnin-zabbix-datasource/settings status=404 remote_addr=10.212.133.7 time_ms=1 size=64 referer=http://zabbix.horoz:3000/datasources/edit/1/ t=2020-08-31T20:18:35+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:18:42+0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/plugins/alexanderzobnin-zabbix-datasource/settings status=404 remote_addr=10.212.133.7 time_ms=1 size=64 referer=http://zabbix.horoz:3000/datasources/edit/1/ t=2020-08-31T20:18:47+0300 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/plugins/alexanderzobnin-zabbix-datasource/settings status=404 remote_addr=10.212.133.7 time_ms=1 size=64 referer=http://zabbix.horoz:3000/datasources/edit/1/ t=2020-08-31T20:22:09+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:22:45+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:30:40+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:32:06+0300 lvl=info msg="Plugin state changed" logger=plugins pluginId=alexanderzobnin-zabbix-app enabled=false t=2020-08-31T20:32:06+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:32:09+0300 lvl=info msg="Plugin state changed" logger=plugins pluginId=alexanderzobnin-zabbix-app enabled=true t=2020-08-31T20:32:09+0300 lvl=info msg="Syncing plugin dashboards to DB" logger=plugins pluginId=alexanderzobnin-zabbix-app t=2020-08-31T20:32:09+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" t=2020-08-31T20:32:12+0300 lvl=eror msg="Could not find plugin definition for data source: alexanderzobnin-zabbix-datasource" I made the necessary unsigned plugin configuration change. But it didnt changed the situation.

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.1.5 5.0.3 4.0.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
corgan2222commented, Sep 1, 2020

fixed it by adding

[plugins]
enable_alpha = true #you probely dont need this
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

to /etc/grafana/grafana.ini

is this normal to do so?

1reaction
fauustcommented, Oct 28, 2020

fixed it by adding

[plugins]
enable_alpha = true #you probely dont need this
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

to /etc/grafana/grafana.ini

This worked fine for me today - Grafana 7.2.2 Zabbix plugin 4.0.1

Yes, but be sure to remove it when you upgrade to grafana 7.3 as it should be working as https://github.com/alexanderzobnin/grafana-zabbix/issues/1035#issuecomment-715248524 says.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Zabbix plugin doesn't appear at "Add data source"
I just install the Zabbix plugin and it doesn't appear at “Add data source”. This is a know bug? How to fix it?...
Read more >
Zabbix plugin for Grafana
Getting started. First, configure Zabbix data source. Then you can create your first dashboard with step-by-step Getting started guide. Documentation.
Read more >
Zabbix plugin query editor won't display - Grafana Community
I assume there's an error in the datasource path: “datasource-zabbix” is duplicated, it should be “/var/lib/grafana/plugins/alexanderzobnin- ...
Read more >
Plugin management | Grafana documentation
The plugin has changed since it was signed. This may indicate malicious intent. Unsigned, The plugin is not signed. Signed, The plugin signature...
Read more >
alexanderzobnin/grafana-zabbix - Gitter
okay seems to be working now - config in plugin.json not required - done ... seen an issue where 'Value to text Mapping'...
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