S
S
Sergey Degtyar2019-06-10 11:07:28
Zabbix
Sergey Degtyar, 2019-06-10 11:07:28

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

1 answer(s)
A
Alexey Burlakov, 2019-07-14
@redflasher

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 agent
from item 2)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question