Answer the question
In order to leave comments, you need to log in
Setting up zabbix-agent via docker-compose?
I deploy zabbix through the official repository https://github.com/zabbix/zabbix-docker
But I can't make friends between zabbix-server and zabbix-agent locally. They don't see each other.
What already just did not register in the settings
Answer the question
In order to leave comments, you need to log in
Faced the same problem. Decided like this:
container_name: zabbix-agent
hostname: zabbix-agent
links:
- zabbix-server:zabbix-server
depends_on:
- zabbix-server
The answer should come "1" (there is a connection). If this does not happen, we google the error. Either the agent config was not configured correctly, or something was wrong with the network. Or the hostname was not specified in /etc/hostname (this is solved using
hostname: zabbix agentfrom item 2)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question