Zabbix – Proxy (docker-compose) Version 5

You can easy install you Zabbix – Proxy with this docker-compose.yml file. Download LINK

Follow this steps:
– Make sure that you have the same path created if not use mkdir -p /volume1/docker/Zabbix/
– Generate PSK FILE by tipping this in your ssh session:“openssl rand -hex 32 >> /volume1/docker/Zabbix/zabbix_agentd.psk“
– change „XXX-IDENTITY“ to the Proxy Name
– change „xxx.xxx.xxx“ to the IP Adress or the DNS name of you Zabbix Server
– save the PSK Key (zabbix_agentd.psk) content and the „Proxy Name“ you will need it to install the proxy on you Zabbix Server

after downloading the docker-compose.yml you have to type:

sudo docker-compose up -d

Now you Proxy should start soon (depending on the Hardware it can take up to 5 minutes)

# Make sure that you have the same path created
# if not use mkdir -p /volume1/docker/Zabbix/
# Generate PSK FILE: 
# "openssl rand -hex 32 >> /volume1/docker/Zabbix/zabbix_agentd.psk"
# change "XXX-IDENTITY" to the Proxy Name 
# change "xxx.xxx.xxx" to the IP Adress or the DNS name of you Zabbix Server

version: "3"

services:
  Zabbix-Proxy:
    container_name: Zabbix-Proxy
    restart: always
    image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.0-latest
    environment:
      ZBX_TLSCONNECT: psk
      ZBX_TLSACCEPT: psk
      ZBX_TLSPSKIDENTITY: XXX-IDENTITY
      ZBX_HOSTNAME: XXX-IDENTITY
      ZBX_SERVER_HOST: xxx.xxx.xxx
      ZBX_TLSPSKFILE: zabbix_agentd.psk
      ZBX_SERVER_PORT: 10051
    volumes:
      - /volume1/docker/Zabbix/zabbix_agentd.psk:/var/lib/zabbix/enc/zabbix_agentd.psk

then you can see the status by using following command:

docker container logs Zabbix-Proxy

If you want you can add following volume/folder to ingest special MIB Files to you installation (THX to Rainhardt Gabriel for this input)

/volume1/docker/Zabbix/mibs:/var/lib/snmp/mibs/

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Time limit is exhausted. Please reload the CAPTCHA.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.