Fping location by env variable

This commit is contained in:
Alexey Pustovalov
2024-12-24 13:18:02 +09:00
parent 48a2e8f559
commit 14cd25f9ed
40 changed files with 208 additions and 148 deletions

View File

@ -512,8 +512,8 @@ update_zbx_config() {
update_config_var $ZBX_CONFIG "ExportType" "${ZBX_EXPORTTYPE}"
fi
update_config_var $ZBX_CONFIG "FpingLocation" "/usr/sbin/fping"
update_config_var $ZBX_CONFIG "Fping6Location"
update_config_var $ZBX_CONFIG "FpingLocation" "${ZBX_FPINGLOCATION}"
update_config_var $ZBX_CONFIG "Fping6Location" '""'
update_config_var $ZBX_CONFIG "SSHKeyLocation" "$ZABBIX_USER_HOME_DIR/ssh_keys"
update_config_var $ZBX_CONFIG "LogSlowQueries" "${ZBX_LOGSLOWQUERIES}"