Ad Widget

Collapse

Zabbix server IP address in docker container and passive agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bdonauba
    Junior Member
    • Oct 2025
    • 1

    #1

    Zabbix server IP address in docker container and passive agent

    Hello,

    I am about to learn and test Zabbix.

    My goal is to use Docker Compose to hide the services in containers and just expose the necessary ports for GUI and agents.

    The problem I have at the moment is the IP address Zabbix server sends to its passive agents. It is the internal IP address of the container - in my case 172.22.0.3 instead of the docker host IP 10.211.144.33.

    Therefore the agent - configured with the host ip 10.211.144.33 - denies access.

    How do the experts deal with that?

    * Add 172.22.0.3 to the allowed Zabbix servers in the agents config file
    * Run the container in the docker host network or macvlan



    Regards,
    Bernhard
Working...