mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-24 23:39:20 +01:00
Fixed proxy with SQLite3 image
This commit is contained in:
parent
6a05eba50b
commit
1a6bcf1193
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user