Fixed proxy with SQLite3 image

This commit is contained in:
Alexey Pustovalov 2019-10-31 22:10:08 +02:00
parent 6a05eba50b
commit 1a6bcf1193

View File

@ -113,7 +113,7 @@ update_zbx_config() {
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}"
else else
update_config_var $ZBX_CONFIG "Hostname" "${ZBX_HOSTNAME:-"zabbix-proxy-sqlite3}" update_config_var $ZBX_CONFIG "Hostname" "${ZBX_HOSTNAME:-"zabbix-proxy-sqlite3"}"
update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}" update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}"
fi fi
@ -234,8 +234,6 @@ update_zbx_config() {
} }
prepare_proxy() { prepare_proxy() {
local db_type=$1
echo "Preparing Zabbix proxy" echo "Preparing Zabbix proxy"
update_zbx_config update_zbx_config