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.

ARM version of alexanderzobnin-zabbix-app not available

See original GitHub issue

Describe the bug When the plugin is loading on a Raspberry Pi I get the error: t=2020-08-27T15:38:41+0200 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="fork/exec /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_arm: no such file or directory"

Expected behavior an ARM version of th eplugin must be available.

Software versions Grafana v7.1.5 running inside Home Assistant hass.io Grafana-Zabbix plugin

Full log:

-----------------------------------------------------------
 Add-on: Grafana
 The open platform for beautiful analytics and monitoring
-----------------------------------------------------------
 Add-on version: 5.2.3
 You are running the latest version of this add-on.
 System: Raspbian GNU/Linux 10 (buster)  (armv7 / raspberrypi4)
 Home Assistant Core: 0.114.4
 Home Assistant Supervisor: 235
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] grafana.sh: executing... 
installing alexanderzobnin-zabbix-app @ 4.0.0
from: https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/4.0.0/download
into: /var/lib/grafana/plugins

✔ Installed alexanderzobnin-zabbix-app successfully 

Restart grafana after installing plugins . <service grafana-server restart>

[cont-init.d] grafana.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:38:39] INFO: Starting Memcached...
[15:38:39] INFO: Starting Grafana...
[15:38:39] INFO: Setting GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS to alexanderzobnin-zabbix-datasource
t=2020-08-27T15:38:39+0200 lvl=info msg="Starting Grafana" logger=server version=7.1.5 commit=9893b8c53d branch=HEAD compiled=2020-08-25T10:27:17+0200
t=2020-08-27T15:38:39+0200 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
t=2020-08-27T15:38:39+0200 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
t=2020-08-27T15:38:39+0200 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=alexanderzobnin-zabbix-datasource"
t=2020-08-27T15:38:39+0200 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
t=2020-08-27T15:38:39+0200 lvl=info msg="Path Data" logger=settings path=/data
t=2020-08-27T15:38:39+0200 lvl=info msg="Path Logs" logger=settings path=/var/logs/grafana
t=2020-08-27T15:38:39+0200 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
t=2020-08-27T15:38:39+0200 lvl=info msg="Path Provisioning" logger=settings path=/usr/share/grafana/conf/provisioning
t=2020-08-27T15:38:39+0200 lvl=info msg="App mode production" logger=settings
t=2020-08-27T15:38:39+0200 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
t=2020-08-27T15:38:39+0200 lvl=info msg="Starting DB migration" logger=migrator
t=2020-08-27T15:38:39+0200 lvl=info msg="Starting plugin search" logger=plugins
t=2020-08-27T15:38:39+0200 lvl=info msg="Registering plugin" logger=plugins name="Direct Input"
t=2020-08-27T15:38:39+0200 lvl=warn msg="Running an unsigned backend plugin" logger=plugins pluginID=alexanderzobnin-zabbix-datasource pluginDir=/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource-zabbix
t=2020-08-27T15:38:39+0200 lvl=info msg="Registering plugin" logger=plugins name=Zabbix
t=2020-08-27T15:38:39+0200 lvl=info msg="Registering plugin" logger=plugins name="Zabbix Problems"
t=2020-08-27T15:38:39+0200 lvl=info msg="Registering plugin" logger=plugins name=Zabbix
t=2020-08-27T15:38:41+0200 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="fork/exec /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_arm: no such file or directory"
t=2020-08-27T15:38:41+0200 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl=/api/hassio_ingress/aaaaa socket=
[15:38:41] INFO: Starting NGinx...

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:23 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
alexanderzobnincommented, Aug 28, 2020

Yes, ARM build is not included in the bundle. I’ll try to add it in the next release.

2reactions
marcelgsteigercommented, Oct 7, 2020

I could now successfully create the plugin for linux_arm for the pi4 using make build-frontend && make build-backend && make test-backend and then copy dist/zabbix-plugin_linux_arm to /var/lib/grafana/plugins/alaxanderzobnin-zabbix-app/ Everything seems to work just fine until now. Please find attached the files I modified for getting it done. Note that in the .scss files I only removed all double slash comment lines. grafana-zabbix.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Tweets with replies by Alexander Zobnin ... - Twitter
Grafana-Zabbix 4.2.9 released. Fixed compatibility with Zabbix 6.2. Check out at https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app/…
Read more >
CHANGELOG.md · v4.1.5 - grafana-zabbix - GitLab
grafana-cli plugins install alexanderzobnin-zabbix-app; Unsigned plugins are not loading by default, so allow it in the Grafana config file:.
Read more >
[Solved]-Can't sign plugin using Grafana with Docker-docker
However, I did land on the thread while I was researching this problem. ... COPY grafana.ini /etc/grafana/grafana.ini COPY alexanderzobnin-zabbix-app ...
Read more >
Prometheus: Embracing the Exporter Life - YetiOps
We do use Zabbix at my workplace, but it isn't a primary monitoring tool. ... approach) to check on the status of a...
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