Fix zabbix agent hostnames for correct host assignment
- Container agent: rename from AgapHost to 'Zabbix server' so it monitors the Zabbix server container (was conflicting with the host agent) - Enable passive listeners in container agent (remove ZBX_STARTAGENTS=0) - Update 'Zabbix server' host interface from 127.0.0.1 to DNS zabbix-agent so the server can reach the agent over the backend Docker network Host zabbix-agent2 (systemd) keeps hostname AgapHost for host monitoring. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ WEB_PORT=81
|
||||
PHP_TZ=Europe/Amsterdam
|
||||
|
||||
# Agent
|
||||
AGENT_HOSTNAME=AgapHost
|
||||
AGENT_HOSTNAME=Zabbix server
|
||||
|
||||
# PostgreSQL
|
||||
POSTGRES_DATA_DIR=/mnt/ssd/dbs/zabbix
|
||||
|
||||
Reference in New Issue
Block a user