Removed ServerPort parameter from Zabix proxy images

This commit is contained in:
Alexey Pustovalov
2022-05-29 02:51:20 +03:00
parent 8bb706d55c
commit 7dc965caba
11 changed files with 1 additions and 11 deletions

View File

@ -115,7 +115,6 @@ update_zbx_config() {
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
update_config_var $ZBX_CONFIG "ServerPort" "${ZBX_SERVER_PORT}"
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
update_config_var $ZBX_CONFIG "Hostname" ""
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"