diff options
author | Suraj Neupane <suraj@netdata.cloud> | 2022-05-03 09:16:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 09:16:21 +0300 |
commit | 22863c42b9ccf59d340f39c7719b6ef19b455a16 (patch) | |
tree | 1d019f827ef49ccf2e174735280373e153ece236 /netdata-installer.sh | |
parent | 4c88988ed3e142ca7dbe15c7487d3762d1c1acf1 (diff) |
Remove node.d.plugin and relevant files (#12769)
* Remove node.d.plugin and relevant files
* fix build packages
* remove node.d related words/phrases from docs and tests
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index d3e1541a9c..a5bbab9690 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1066,32 +1066,6 @@ fi # ----------------------------------------------------------------------------- [ -n "${GITHUB_ACTIONS}" ] && echo "::group::Installing Netdata." -progress "Migrate configuration files for node.d.plugin and charts.d.plugin" - -# migrate existing configuration files -# for node.d and charts.d -if [ -d "${NETDATA_PREFIX}/etc/netdata" ]; then - # the configuration directory exists - - if [ ! -d "${NETDATA_PREFIX}/etc/netdata/charts.d" ]; then - run mkdir "${NETDATA_PREFIX}/etc/netdata/charts.d" - fi - - # move the charts.d config files - for x in apache ap cpu_apps cpufreq example exim hddtemp load_average mem_apps mysql nginx nut opensips phpfpm postfix sensors squid tomcat; do - for y in "" ".old" ".orig"; do - if [ -f "${NETDATA_PREFIX}/etc/netdata/${x}.conf${y}" ] && [ ! -f "${NETDATA_PREFIX}/etc/netdata/charts.d/${x}.conf${y}" ]; then - run mv -f "${NETDATA_PREFIX}/etc/netdata/${x}.conf${y}" "${NETDATA_PREFIX}/etc/netdata/charts.d/${x}.conf${y}" - fi - done - done - - if [ ! -d "${NETDATA_PREFIX}/etc/netdata/node.d" ]; then - run mkdir "${NETDATA_PREFIX}/etc/netdata/node.d" - fi - -fi - # ----------------------------------------------------------------------------- # shellcheck disable=SC2230 |