If you need to compile your own deb packages for Zabbix, this gist may help you.
My motivation was that there are no official repositories for Debian
ARM. If you run Debian on your Raspbery Pi and want to have an up to
date Zabbix Agent or Proxy, the official Zabbix repositories won't be of
much help. Either you install the 32 bit version Raspbian version, which
might come with broken dependencies on your geniune Debian installation,
or you use the ancient Zabbix version from the official Debian
repositories. Unfortunately you have to have Docker installed to run
this, but I didn't want to clutter the storage on my Raspberry Pi. It
runs for about 75 minutes on my Raspberry Pi, but then you should have
packages you can install using dpkg
, and apt
. Should work on other
platforms, too.
On my Raspberry Pi 3 B, building the Dockerfile took about 18 minutes. Running the Dockerfile to create the packages takes about 75 minutes.
docker image build --tag compile-zabbix:latest https://git.io/Jf0Om
docker container run -itv "/srv/zabbix-packages:/output" --rm compile-zabbix:latest
After it has finished, you can install the packages that are now stored
in /srv/zabbix-packages
. E.g. you can run the following to install zabbix_agent2.
apt install /srv/zabbix-packages/zabbix-agent2_5.0.0-1+buster_arm64.deb