Solved issue with Elastisearch parameters

This commit is contained in:
root 2018-06-05 20:05:48 -07:00
parent 3b84f57857
commit 2a24013fda
35 changed files with 68 additions and 1072 deletions

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

File diff suppressed because it is too large Load Diff

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")

View File

@ -838,6 +838,8 @@ prepare_zbx_web_config() {
echo "**** Zabbix related PHP configuration file not found" echo "**** Zabbix related PHP configuration file not found"
fi fi
ZBX_HISTORYSTORAGETYPES=${ZBX_HISTORYSTORAGETYPES:-"[]"}
# Escaping characters in parameter value # Escaping characters in parameter value
server_name=$(escape_spec_char "${ZBX_SERVER_NAME}") server_name=$(escape_spec_char "${ZBX_SERVER_NAME}")
server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}") server_user=$(escape_spec_char "${DB_SERVER_ZBX_USER}")