Create missing /etc/netdata/custom-plugins.d (#6089)
Fix Error message in error.log: netdata ERROR : PLUGINSD : cannot open plugins directory '/etc/netdata/custom-plugins.d' (errno 2, No such file or directory)
Steve8291 committed
May 23, 2019 at 03:45 UTC
9beb4f01b399f701faa259e31073c68638e629ca
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -628,7 +628,7 @@ fi
628
629
# --- conf dir ----
630
631
-for x in "python.d" "charts.d" "node.d" "health.d" "statsd.d" "go.d"; do
631
+for x in "python.d" "charts.d" "node.d" "health.d" "statsd.d" "go.d" "custom-plugins.d"; do
632
if [ ! -d "${NETDATA_USER_CONFIG_DIR}/${x}" ]; then
633
echo >&2 "Creating directory '${NETDATA_USER_CONFIG_DIR}/${x}'"
634
run mkdir -p "${NETDATA_USER_CONFIG_DIR}/${x}" || exit 1