grafana-zabbix icon indicating copy to clipboard operation
grafana-zabbix copied to clipboard

freebsd plugin

Open hellmany opened this issue 4 years ago • 10 comments

Is your feature request related to a problem? Please describe. Could you please add freebsd_amd64 compiled plugin to the package and sign it?

Describe the solution you'd like I compiled it with go mod vendor env GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -mod=vendor -o ./dist/zabbix-plugin_freebsd_amd64 ./pkg but i've got signature invalid/modified error

Thanks.

hellmany avatar Sep 16 '21 07:09 hellmany

I'd also like if you could begin building with GOOS=freebsd again, also. I'm able to build the backend binary with no problem and load the plugin with allow_loading_unsigned_plugins = "alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-triggers-panel,alexanderzobnin-zabbix-app".

Is there a CI or testing issue that I can help with so that the signed plugin can support FreeBSD again?

overhacked avatar Sep 18 '21 19:09 overhacked

Hi! I can add FreeBSD build to the release. How do you install plugins since we don't have official Grafana build for freebsd, manually? I can add it as a separate package in the github release.

alexanderzobnin avatar Sep 22 '21 09:09 alexanderzobnin

from ports =)

hellmany avatar Sep 22 '21 13:09 hellmany

Yep, there is a maintained FreeBSD port for Grafana, and the plugin-cli works perfectly to install alexanderzobnin-zabbix-app but it won't run due to the lack of FreeBSD backend binary.

overhacked avatar Sep 22 '21 19:09 overhacked

Ok, got it. Thus, I need to add this to the package.

alexanderzobnin avatar Sep 23 '21 07:09 alexanderzobnin

Related: https://github.com/alexanderzobnin/grafana-zabbix/issues/1022

MostFrabjous avatar Nov 21 '21 21:11 MostFrabjous

Please, release signed plugin for freebsd, it's a pain to install it.

We're waiting from Sep 2021 =(((

hellmany avatar Feb 16 '22 15:02 hellmany

Now i cannot load plugin in Grafana 8 "Failed to validate plugin signature. Will skip loading"

allow_loading_unsigned_plugins = alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-triggers-panel

Cannot help

hellmany avatar Feb 16 '22 15:02 hellmany

I can not compile anymore in FreeBSD. How can I install your plugin using this OS?

Granfana 9 and Zabbix 6 are installed in FreeBSD without problems.

Thanks, Paulo.

paulofragoso avatar Jul 16 '22 11:07 paulofragoso

After corrects my dependencies I could compile onde plugin for FreeBSD for Zabbix6.

Thanks, Paulo.

paulofragoso avatar Jul 18 '22 02:07 paulofragoso

Hi, I don't mean to be a bother, just a friendly reminder: I internally maintain a FreeBSD port of this plugin for our infrastructure, which I can't make public because of the unsigned plugin issue. Apart from that, the backend compiles with zero modifications when setting GOOS=freebsd.

There are a couple of open, duplicate issues requesting FreeBSD support: #1402, #1237, and #1203. I'll go ahead and open a PR that would close this issue, with fingers crossed. Thank you!

overhacked avatar Sep 06 '22 14:09 overhacked