Hi.
I have a zabbix server in a container connected to two networks, with assigned IP addresses:
172.16.239.3 and 172.16.238.2
I have a container with zabbix agent with assigned IP:
172.16.239.6 and 172.19.0.2
@edit: Both containers are on the same network
I have zabbix agent installed directly on my linux system with IP address: 192.168.1.29
From zabbix server I can ping both agents, but I cannot get data from the agent located on the docker (IP 172.16.239.6 and 172.19.0.2) because it returns me error 111 connection refused.
To create a container, I use docker-compose in which I publish ports 88:80 for the nginx side and 10053: 10050 for zabbix so the ports are exposed to the outside and the nginx website is available. On the zabbix server, the agent in the container is also assigned port 10053, i.e. according to the configuration.
Both agents have a checked hostname that matches the hostnames on the zabbix server. both agents have the same server address values, i.e.
Server = 127.0.0.1, 172.16.239.3, 172.16.238.2
The problem is that the agent installed directly in linux returns correct data to me and the agent installed in the container returns connection refused to me. The firewall in the agent container is inactive
I have a zabbix server in a container connected to two networks, with assigned IP addresses:
172.16.239.3 and 172.16.238.2
I have a container with zabbix agent with assigned IP:
172.16.239.6 and 172.19.0.2
@edit: Both containers are on the same network
I have zabbix agent installed directly on my linux system with IP address: 192.168.1.29
From zabbix server I can ping both agents, but I cannot get data from the agent located on the docker (IP 172.16.239.6 and 172.19.0.2) because it returns me error 111 connection refused.
To create a container, I use docker-compose in which I publish ports 88:80 for the nginx side and 10053: 10050 for zabbix so the ports are exposed to the outside and the nginx website is available. On the zabbix server, the agent in the container is also assigned port 10053, i.e. according to the configuration.
Both agents have a checked hostname that matches the hostnames on the zabbix server. both agents have the same server address values, i.e.
Server = 127.0.0.1, 172.16.239.3, 172.16.238.2
The problem is that the agent installed directly in linux returns correct data to me and the agent installed in the container returns connection refused to me. The firewall in the agent container is inactive