From 96f84ddba4a47bc273dd8a7330ba6e5b45c3fdb0 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 20 Feb 2020 17:36:01 +0200 Subject: [PATCH] Added missing StatsAllowedIP to Alpine images for proxies and servers --- server-mysql/alpine/docker-entrypoint.sh | 2 ++ server-pgsql/alpine/docker-entrypoint.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server-mysql/alpine/docker-entrypoint.sh b/server-mysql/alpine/docker-entrypoint.sh index dff1d762c..865b47d29 100755 --- a/server-mysql/alpine/docker-entrypoint.sh +++ b/server-mysql/alpine/docker-entrypoint.sh @@ -274,6 +274,8 @@ update_zbx_config() { update_config_var $ZBX_CONFIG "DBSocket" "${DB_SERVER_SOCKET}" + update_config_var $ZBX_CONFIG "StatsAllowedIP" "${ZBX_STATSALLOWEDIP}" + update_config_var $ZBX_CONFIG "StartPollers" "${ZBX_STARTPOLLERS}" update_config_var $ZBX_CONFIG "StartIPMIPollers" "${ZBX_IPMIPOLLERS}" update_config_var $ZBX_CONFIG "StartPollersUnreachable" "${ZBX_STARTPOLLERSUNREACHABLE}" diff --git a/server-pgsql/alpine/docker-entrypoint.sh b/server-pgsql/alpine/docker-entrypoint.sh index f9c6eb9e0..7ce334f94 100755 --- a/server-pgsql/alpine/docker-entrypoint.sh +++ b/server-pgsql/alpine/docker-entrypoint.sh @@ -313,6 +313,8 @@ update_zbx_config() { update_config_var $ZBX_CONFIG "DBSocket" "${DB_SERVER_SOCKET}" + update_config_var $ZBX_CONFIG "StatsAllowedIP" "${ZBX_STATSALLOWEDIP}" + update_config_var $ZBX_CONFIG "StartPollers" "${ZBX_STARTPOLLERS}" update_config_var $ZBX_CONFIG "StartIPMIPollers" "${ZBX_IPMIPOLLERS}" update_config_var $ZBX_CONFIG "StartPollersUnreachable" "${ZBX_STARTPOLLERSUNREACHABLE}"