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 unavailable in Raspbian GNU/Linux 10 (buster) #1107

Closed
danielgusmao opened this issue Nov 28, 2020 · 11 comments
Closed

Plugin unavailable in Raspbian GNU/Linux 10 (buster) #1107

danielgusmao opened this issue Nov 28, 2020 · 11 comments

Comments

@danielgusmao
Copy link

image

image
image

zabbix_server (Zabbix) 5.0.5
grafana-server Version 7.3.3 (commit: 2489dc4d3a, branch: HEAD)
Raspbian GNU/Linux 10 (buster)

@perlporter
Copy link

I'm facing the same problem in a different system, see:

zabbix5-server (5.0.4)
grafana-server (7.3.4)
FreeBSD 12.2-RELEASE-p1

I've added that too:

allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

Waiting for a possible solution :-)

@HyderKhalil
Copy link

Same for me. New install of Grafana v7.3.4 (14c494085e) on Raspberry Pi 4 running Zabbix 5.2.2

@HyderKhalil
Copy link

HyderKhalil commented Dec 8, 2020

I managed to get this working for me. I found this issue here:

#1028

I checked the plugin directory at /var/lib/grafana/plugins/alexanderzobnin-zabbix-app and the arm version of the plugin wasn't there, so I dowloaded the zip file https://github.com/alexanderzobnin/grafana-zabbix/files/5623127/alexanderzobnin-zabbix-app-4.0.2.zip and copied the two arm files into the plugin directory, changed the permissions on the alexanderzobnin-zabbixx-app directory to 777, restart Grafana and all working now.

@perlporter
Copy link

I'm facing the same problem in a different system, see:

zabbix5-server (5.0.4)
grafana-server (7.3.4)
FreeBSD 12.2-RELEASE-p1

I've added that too:

allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource

Waiting for a possible solution :-)

I think I found something relevant... check the log:

t=2020-12-09T08:32:52-0300 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="fork/exec /var/db/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_freebsd_amd64: no such file or directory"

It seems to me that in this version there is the need of a specific binary for each architecture....

zabbix-plugin_darwin_amd64: Mach-O 64-bit x86_64 executable
zabbix-plugin_linux_amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=yO6v6WdNLrXQdtF9K7ZL/kIZ-od62bPy7jdIipyLE/xmraMuk0R7m5JiwTu1YP/tf5dOjFJKf6GHNu9GLHc, stripped
zabbix-plugin_windows_amd64.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows

@HyderKhalil
Copy link

It seems to me that in this version there is the need of a specific binary for each architecture....

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

@perlporter
Copy link

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

I understand... but my problem is that I am running on FreeBSD and not on Raspberry Pi

@danielgusmao
Copy link
Author

I managed to get this working for me. I found this issue here:

#1028

I checked the plugin directory at /var/lib/grafana/plugins/alexanderzobnin-zabbix-app and the arm version of the plugin wasn't there, so I dowloaded the zip file https://github.com/alexanderzobnin/grafana-zabbix/files/5623127/alexanderzobnin-zabbix-app-4.0.2.zip and copied the two arm files into the plugin directory, restart Grafana and all working now.

Big man, i did it and nothing, check it out

Captura de Tela 2020-12-10 às 14 18 40

Captura de Tela 2020-12-10 às 14 19 40

@HyderKhalil
Copy link

HyderKhalil commented Dec 10, 2020

Hmmm... The only other thing I did was to change the permissions on the alexanderzobnin-zabbix-app directory to 777. Don't know if that helps?

@danielgusmao
Copy link
Author

Hmmm... The only other thing I did was to change the permissions on the alexanderzobnin-zabbix-app directory to 777 and also. Don't know if that helps?

You are the man !!!

Captura de Tela 2020-12-10 às 14 50 07

@alexanderzobnin
Copy link
Collaborator

Duplicates #1028

@felipebsd
Copy link

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

I understand... but my problem is that I am running on FreeBSD and not on Raspberry Pi

Same problem here. Solved?

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

No branches or pull requests

5 participants