mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 01:04:01 +01:00
Removed ServerPort parameter from Zabix proxy images
This commit is contained in:
parent
b3daf4585c
commit
859920ff9e
@ -311,7 +311,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -309,7 +309,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -309,7 +309,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -310,7 +310,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -308,7 +308,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -115,7 +115,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -115,7 +115,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -115,7 +115,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -115,7 +115,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -115,7 +115,6 @@ update_zbx_config() {
|
|||||||
|
|
||||||
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
update_config_var $ZBX_CONFIG "ProxyMode" "${ZBX_PROXYMODE}"
|
||||||
update_config_var $ZBX_CONFIG "Server" "${ZBX_SERVER_HOST}"
|
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
|
if [ -z "${ZBX_HOSTNAME}" ] && [ -n "${ZBX_HOSTNAMEITEM}" ]; then
|
||||||
update_config_var $ZBX_CONFIG "Hostname" ""
|
update_config_var $ZBX_CONFIG "Hostname" ""
|
||||||
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ZBX_PROXYMODE=0
|
# ZBX_PROXYMODE=0
|
||||||
# ZBX_SERVER_HOST=zabbix-server
|
# ZBX_SERVER_HOST=zabbix-server
|
||||||
# ZBX_SERVER_PORT=10051
|
# ZBX_SERVER_PORT=10051 # Deprecated since 6.0.0
|
||||||
# ZBX_HOSTNAME=zabbix-proxy-$db_type
|
# ZBX_HOSTNAME=zabbix-proxy-$db_type
|
||||||
# ZBX_ENABLEREMOTECOMMANDS=0 # Available since 3.4.0
|
# ZBX_ENABLEREMOTECOMMANDS=0 # Available since 3.4.0
|
||||||
# ZBX_LOGREMOTECOMMANDS=0 # Available since 3.4.0
|
# ZBX_LOGREMOTECOMMANDS=0 # Available since 3.4.0
|
||||||
|
Loading…
Reference in New Issue
Block a user