From 04defdf8b0700db6d2f3c300bba2d6d4e8297354 Mon Sep 17 00:00:00 2001 From: saranf Date: Fri, 10 Jul 2026 12:46:48 +0900 Subject: [PATCH] Fix wrong agent config include path in README (zabbix_agent.d -> zabbix_agentd.d) The "Known issues" note about ZBX_ALIAS tells users to drop extra Alias config files into /etc/zabbix/zabbix_agent.d, but no agent includes that directory. zabbix_agentd.conf includes /etc/zabbix/zabbix_agentd.d/*.conf, and zabbix_agent2.conf includes /etc/zabbix/zabbix_agentd.d/*.conf as well (plus /etc/zabbix/zabbix_agent2.d/*.conf). The correct shared directory is zabbix_agentd.d (note the "d"), which is also created in the image and documented as a volume earlier in the same README. Files placed under zabbix_agent.d are silently ignored, so user-provided aliases never load. Fix the path to zabbix_agentd.d in the agent and agent2 READMEs. --- Dockerfiles/agent/README.md | 2 +- Dockerfiles/agent2/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/agent/README.md b/Dockerfiles/agent/README.md index d667c509..10ce64fc 100644 --- a/Dockerfiles/agent/README.md +++ b/Dockerfiles/agent/README.md @@ -233,7 +233,7 @@ If you have any problems with or questions about this image, please contact us t ### Known issues -Currently it is not allowed to specify ``ZBX_ALIAS`` environment variable. Please use ``/etc/zabbix/zabbix_agent.d`` volume with additional configuration files with ``Alias`` options. +Currently it is not allowed to specify ``ZBX_ALIAS`` environment variable. Please use ``/etc/zabbix/zabbix_agentd.d`` volume with additional configuration files with ``Alias`` options. ## Contributing diff --git a/Dockerfiles/agent2/README.md b/Dockerfiles/agent2/README.md index 99f0e75b..97aeb0fa 100644 --- a/Dockerfiles/agent2/README.md +++ b/Dockerfiles/agent2/README.md @@ -223,7 +223,7 @@ If you have any problems with or questions about this image, please contact us t ### Known issues -Currently it is not allowed to specify ``ZBX_ALIAS`` environment variable. Please use ``/etc/zabbix/zabbix_agent.d`` volume with additional configuration files with ``Alias`` options. +Currently it is not allowed to specify ``ZBX_ALIAS`` environment variable. Please use ``/etc/zabbix/zabbix_agentd.d`` volume with additional configuration files with ``Alias`` options. ## Contributing