diff options
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 47 |
1 files changed, 9 insertions, 38 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 2bc9abc5..ea4aadb0 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -419,7 +419,7 @@ if [ -z "$NETDATA_DISABLE_TELEMETRY" ]; then cat << BANNER4 ${TPUT_YELLOW}${TPUT_BOLD}NOTE${TPUT_RESET}: - Anonymous usage stats will be collected and sent to Google Analytics. + Anonymous usage stats will be collected and sent to Netdata. To opt-out, pass --disable-telemetry option to the installer or export the environment variable DO_NOT_TRACK to a non-zero or non-empty value (e.g: export DO_NOT_TRACK=1). @@ -650,12 +650,17 @@ EOF -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl \ -D OPENSSL_LIBRARIES=/usr/local/opt/openssl/lib \ -D LWS_WITH_SOCKS5:bool=ON \ + -D LWS_IPV6:bool=ON \ $CMAKE_FLAGS \ . else - run ${env_cmd} cmake -D LWS_WITH_SOCKS5:bool=ON $CMAKE_FLAGS . + run ${env_cmd} cmake \ + -D LWS_WITH_SOCKS5:bool=ON \ + -D LWS_IPV6:bool=ON \ + $CMAKE_FLAGS \ + . fi - run ${env_cmd} make + run ${env_cmd} make -j$(find_processors) popd > /dev/null || exit 1 } @@ -1357,40 +1362,6 @@ fi # ----------------------------------------------------------------------------- -copy_react_dashboard() { - run cp -a $(find ${1} -mindepth 1 -maxdepth 1) "${NETDATA_WEB_DIR}" - run chown -R "${NETDATA_WEB_USER}:${NETDATA_WEB_GROUP}" "${NETDATA_WEB_DIR}" -} - -install_react_dashboard() { - progress "Fetching and installing dashboard" - - DASHBOARD_PACKAGE_VERSION="$(cat packaging/dashboard.version)" - - tmp="$(mktemp -d -t netdata-dashboard-XXXXXX)" - DASHBOARD_PACKAGE_BASENAME="dashboard.tar.gz" - - if fetch_and_verify "dashboard" \ - "https://github.com/netdata/dashboard/releases/download/${DASHBOARD_PACKAGE_VERSION}/${DASHBOARD_PACKAGE_BASENAME}" \ - "${DASHBOARD_PACKAGE_BASENAME}" \ - "${tmp}" \ - "${NETDATA_LOCAL_TARBALL_OVERRIDE_DASHBOARD}"; then - if run tar -xf "${tmp}/${DASHBOARD_PACKAGE_BASENAME}" -C "${tmp}" && - copy_react_dashboard "${tmp}/build" && - rm -rf "${tmp}"; then - run_ok "React dashboard installed." - else - run_failed "Failed to install React dashboard. The install process will continue, but you will not be able to use the new dashboard." - fi - else - run_failed "Unable to fetch React dashboard. The install process will continue, but you will not be able to use the new dashboard." - fi -} - -install_react_dashboard - -# ----------------------------------------------------------------------------- - # govercomp compares go.d.plugin versions. Exit codes: # 0 - version1 == version2 # 1 - version1 > version2 @@ -1613,7 +1584,7 @@ remove_old_ebpf() { if [ -f "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" ]; then echo >&2 "Renaming eBPF configuration file." - mv "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" "${NETDATA_PREFIX}/etc/netdata/ebpf.conf" + mv "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" "${NETDATA_PREFIX}/etc/netdata/ebpf.d.conf" fi # Added to remove eBPF programs with name pattern: NAME_VERSION.SUBVERSION.PATCH |