portsnap fetch extract update
make -DBATCH -C /usr/ports/ports-mgmt/pkg reinstall clean
pkg install -y llvm cmake llvm10 go
make -DBATCH -C /usr/ports/databases/mariadb105-server install clean
make -DBATCH -C /usr/ports/www/apache24 install clean
make -C /usr/ports/lang/php74-extensions config
SELECT: CURL IMAP GD JSON LIBXML2 MBSTRING MYSQLI OPENSSL PDF PDO PDO_MYSQL SOAP ZLIB
make -C /usr/ports/net-mgmt/zabbix5-server config
SELECT: LIBXML2
make -DBATCH -C /usr/ports/net-mgmt/zabbix5-server install clean
make -DBATCH -C /usr/ports/net-mgmt/zabbix5-frontend install clean
make -DBATCH -C /usr/ports/www/node14 install clean
make -DBATCH -C /usr/ports/www/yarn-node14 install clean
cd
git clone https://github.com/alexanderzobnin/grafana-zabbix.git
cd grafana-zabbix
go mod vendor
env GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -mod=vendor -o ./dist/zabbix-plugin_freebsd_amd64 ./pkg
sudo install -c -g 904 -o 0 -m 0755 dist/zabbix-plugin_freebsd_amd64
/var/db/grafana/plugins/alexanderzobnin-zabbix-app