Skip to main content

Set Static IP Agent Zabbix Docker

docker compose -f docker-compose_v3_alpine_pgsql_latest.yaml --profile full down
vim compose_zabbix_components.yaml
zabbix-agent:
  ...
  networks:
    backend:
      ipv4_address: 172.16.239.200
      aliases:
        - zabbix-agent
        - zabbix-agent-passive
vim env_vars/.env_agent
ZBX_LISTENIP=172.16.239.200
docker compose -f docker-compose_v3_alpine_pgsql_latest.yaml --profile full up -d