Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin marked as signed but failed to start #1042

Closed
Rickman opened this issue Sep 2, 2020 · 18 comments
Closed

Plugin marked as signed but failed to start #1042

Rickman opened this issue Sep 2, 2020 · 18 comments
Labels

Comments

@Rickman
Copy link

Rickman commented Sep 2, 2020

Describe the bug
I have installed and enabled the Zabbix plugin, it's appears as signed. After resrarting Grafana, when i go to the add data source option within Grafana, Zabbix does not appear in the list.

Expected behavior
I expect the Zabbix data source to appear in the list of available data sources

Screenshots
Capture

Network data
If it's related to metric data visualization would be great to get the raw query and response for the network request (check this in browser dev tools network tab, there you can see metric requests, please include the request body and request response)

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.1.5 5.0.1 4.0.1
@VA2XJM
Copy link

VA2XJM commented Sep 2, 2020

In grafana.conf add "alexanderzobnin-zabbix-datasource" to "allow_loading_unsigned_plugins" and restart Zabbix-Server.

Ex: allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

Refresh your browser and see if it is fixed.

@Rickman
Copy link
Author

Rickman commented Sep 2, 2020

I'm afraid that doesn't work.

I did try that with version 4.0 as well and had the same issue, it just refuses to show up as a source.

@VA2XJM
Copy link

VA2XJM commented Sep 2, 2020

Check your logs. You will notice what part of the plugin is not loading. In my case the -datasource part was not loading. So adding the exception as stated above fixed the problem.

@Rickman
Copy link
Author

Rickman commented Sep 2, 2020

Hi,

I tried this, it doesn't appear to work.

Capture

The logs do suggest that it's not loading due to being unsigned though.

Capture2

Am i missing something here?

@Rickman
Copy link
Author

Rickman commented Sep 2, 2020

OK, that was me being stupid, got it working, thanks for the help!

@Rickman Rickman closed this as completed Sep 2, 2020
@alexanderzobnin alexanderzobnin changed the title Unable to add Zabbix as a datasource Plugin marked as signed but failed to start Sep 3, 2020
@alexanderzobnin
Copy link
Collaborator

Looks like datasource is still treated as unsigned by grafana-server. So allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource is still required to run plugin.

@ruchimal
Copy link

ruchimal commented Sep 3, 2020

I have already set the value to allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource but it is giving the above error.

image

@Rickman
Copy link
Author

Rickman commented Sep 3, 2020

I have already set the value to allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource but it is giving the above error.

image

You need to remove the ; at the start of the line in the config file.

So the line should be exactly:

allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

That got it working for me.

@ruchimal
Copy link

ruchimal commented Sep 3, 2020

Please below screen dump from my ini file

image

@Rickman
Copy link
Author

Rickman commented Sep 3, 2020

Did you restart Grafana and refresh the browser?

@ruchimal
Copy link

ruchimal commented Sep 3, 2020

I did everything and did the installation couple of times (including different laptops) but it is still the same. Please note i am running Grafana in windows 10 environments.

@alexanderzobnin
Copy link
Collaborator

@ruchimal That might be an issue with Windows env. Do you see something specific in the logs?

@ruchimal
Copy link

ruchimal commented Sep 3, 2020

@alexander Please find the attached log file for your reference.
grafana.log

@alexanderzobnin
Copy link
Collaborator

Created an issue in grafana repo: grafana/grafana#27364

@rburkhall
Copy link

I have already set the value to allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource but it is giving the above error.

image

Ensure that you placed the item under [plugins], I made the same mistake adding it to the end of the file.

@ruchimal
Copy link

Created an issue in grafana repo: grafana/grafana#27364

Hello Alexander, This problem is still persisting in version 7.2.0-beta1 even though the grafana team has closed the 7.2 milestones. Please note that i have used WindowsOS for this testing.

"t=2020-09-22T10:24:45+0530 lvl=eror msg="Failed to load plugin" logger=plugins error="plugin "alexanderzobnin-zabbix-datasource" is unsigned" pluginPath="C:\Program Files\GrafanaLabs\grafana\data\plugins\alexanderzobnin-zabbix-app\datasource-zabbix"
t=2020-09-22T10:24:45+0530 lvl=info msg="Registering plugin" logger=plugins name="Zabbix Problems"
t=2020-09-22T10:24:45+0530 lvl=info msg="Registering plugin" logger=plugins name=Zabbix
t=2020-09-22T10:24:45+0530 lvl=warn msg="Some plugins failed to load" logger=plugins errors="[plugin "alexanderzobnin-zabbix-datasource" is unsigned]"
t=2020-09-22T10:24:45+0530 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=
t=2020-09-22T10:25:19+0530 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=127.0.0.1 time_ms=0 size=29 referer=
t=2020-09-22T10:25:28+0530 lvl=info msg="Successful Login" logger=http.server User=admin@localhost"

GrafanaError

@alexanderzobnin
Copy link
Collaborator

Closing since it was fixed in Grafana.

@gabriiellduarte
Copy link

Olá, estou tendo o mesmo problema porém estou com o no Windows rodando a versão mais recente do grafana 9.3.1
recebo esse erro
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants