summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh36
1 files changed, 12 insertions, 24 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 539348018..9f00b882b 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -202,12 +202,9 @@ USAGE: ${PROGRAM} [options]
--nightly-channel Use most recent nightly updates instead of GitHub releases.
This results in more frequent updates.
--disable-ebpf Disable eBPF Kernel plugin. Default: enabled.
- --disable-cloud Disable all Netdata Cloud functionality.
- --require-cloud Fail the install if it can't build Netdata Cloud support.
--force-legacy-cxx Force usage of an older C++ standard to allow building on older systems. This will usually be autodetected.
--enable-plugin-freeipmi Enable the FreeIPMI plugin. Default: enable it when libipmimonitoring is available.
--disable-plugin-freeipmi Explicitly disable the FreeIPMI plugin.
- --disable-https Explicitly disable TLS support.
--disable-dbengine Explicitly disable DB engine support.
--enable-plugin-go Enable the Go plugin. Default: Enabled when possible.
--disable-plugin-go Disable the Go plugin.
@@ -256,8 +253,9 @@ LIBS_ARE_HERE=0
NETDATA_ENABLE_ML=""
ENABLE_DBENGINE=1
ENABLE_GO=1
+ENABLE_PYTHON=1
+ENABLE_CHARTS=1
ENABLE_H2O=1
-ENABLE_CLOUD=1
FORCE_LEGACY_CXX=0
NETDATA_CMAKE_OPTIONS="${NETDATA_CMAKE_OPTIONS-}"
@@ -279,14 +277,16 @@ while [ -n "${1}" ]; do
"--enable-plugin-freeipmi") ENABLE_FREEIPMI=1 ;;
"--disable-plugin-freeipmi") ENABLE_FREEIPMI=0 ;;
"--disable-https")
- ENABLE_DBENGINE=0
- ENABLE_H2O=0
- ENABLE_CLOUD=0
+ warning "HTTPS cannot be disabled."
;;
"--disable-dbengine") ENABLE_DBENGINE=0 ;;
"--enable-plugin-go") ENABLE_GO=1 ;;
"--disable-plugin-go") ENABLE_GO=0 ;;
"--disable-go") ENABLE_GO=0 ;;
+ "--enable-plugin-python") ENABLE_PYTHON=1 ;;
+ "--disable-plugin-python") ENABLE_PYTHON=0 ;;
+ "--enable-plugin-charts") ENABLE_CHARTS=1 ;;
+ "--disable-plugin-charts") ENABLE_CHARTS=0 ;;
"--enable-plugin-nfacct") ENABLE_NFACCT=1 ;;
"--disable-plugin-nfacct") ENABLE_NFACCT=0 ;;
"--enable-plugin-xenstat") ENABLE_XENSTAT=1 ;;
@@ -328,21 +328,9 @@ while [ -n "${1}" ]; do
# XXX: No longer supported
;;
"--disable-cloud")
- if [ -n "${NETDATA_REQUIRE_CLOUD}" ]; then
- warning "Cloud explicitly enabled, ignoring --disable-cloud."
- else
- ENABLE_CLOUD=0
- NETDATA_DISABLE_CLOUD=1
- fi
- ;;
- "--require-cloud")
- if [ -n "${NETDATA_DISABLE_CLOUD}" ]; then
- warning "Cloud explicitly disabled, ignoring --require-cloud."
- else
- ENABLE_CLOUD=1
- NETDATA_REQUIRE_CLOUD=1
- fi
+ warning "Cloud cannot be disabled."
;;
+ "--require-cloud") ;;
"--build-json-c")
NETDATA_BUILD_JSON_C=1
;;
@@ -941,11 +929,11 @@ if [ "$(id -u)" -eq 0 ]; then
if [ -f "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin" ]; then
run chown "root:${NETDATA_GROUP}" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
- capabilities=1
+ capabilities=0
if ! iscontainer && command -v setcap 1> /dev/null 2>&1; then
run chmod 0750 "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
- if ! run setcap "cap_dac_read_search+epi cap_net_admin+epi cap_net_raw=eip" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"; then
- capabilities=0
+ if run setcap "cap_dac_read_search+epi cap_net_admin+epi cap_net_raw=eip" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"; then
+ capabilities=1
fi
fi