-
Notifications
You must be signed in to change notification settings - Fork 1.4k
FAQnP ... Frequently asked questions and problems
Markus Fischbacher edited this page Mar 18, 2021
·
7 revisions
Thats because the default "Zabbix server" item in Zabbix is looking for "localhost" which isn't working in containers as it's normal. So to solve that problem you can:
- simple change "localhost" to "zabbix-agent" which points to the, hopefully also started, Zabbix Agent container.
- or, arguably better!, you remove the Zabbix Agent template from "Zabbix server" (while leaving the Zabbix server templates!) and create a new host "Zabbix agent" which you point to the zabbix-agent container and link the template there.
Because there are so many possible configuration combinations there are also a lot of docker-compose templates. The highlight here is on templates! They simply aren't supposed to be docker-compose up -d -f docker-compose_v3_ubuntu_pgsql_latest.yaml. You should instead copy the one you like and then tailor it to your needs. So for example if you choose Postgres as your DB copy the pgsql_latest to docker-compose.yml and just keep the services you need.