From 8f0f7590ce63f4acdc949fe2253de40f3cf8733b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:22:56 +0800 Subject: [PATCH] update 2023-08-28 16:22:56 --- .../root/etc/uci-defaults/40_luci-app-netdata | 1 - .../root/usr/share/patch/charts.d.conf | 49 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 luci-app-netdata/root/usr/share/patch/charts.d.conf diff --git a/luci-app-netdata/root/etc/uci-defaults/40_luci-app-netdata b/luci-app-netdata/root/etc/uci-defaults/40_luci-app-netdata index bee9a2025..83bf1cd80 100644 --- a/luci-app-netdata/root/etc/uci-defaults/40_luci-app-netdata +++ b/luci-app-netdata/root/etc/uci-defaults/40_luci-app-netdata @@ -3,7 +3,6 @@ [ -f /usr/share/netdata/webcn/dashboard_info.js ] && mv -f /usr/share/netdata/webcn/dashboard_info.js /usr/share/netdata/web/dashboard_info.js [ -f /usr/share/netdata/webcn/main.js ] && mv -f /usr/share/netdata/webcn/main.js /usr/share/netdata/web/main.js [ -f /usr/share/netdata/webcn/index.html ] && mv -f /usr/share/netdata/webcn/index.html /usr/share/netdata/web/index.html -[ -f /usr/share/netdata/patch/charts.d.conf ] && mv -f /usr/share/netdata/patch/charts.d.conf /etc/netdata/charts.d.conf rm -rf /tmp/luci-modulecache /tmp/luci-indexcache* exit 0 diff --git a/luci-app-netdata/root/usr/share/patch/charts.d.conf b/luci-app-netdata/root/usr/share/patch/charts.d.conf deleted file mode 100644 index c01feab2b..000000000 --- a/luci-app-netdata/root/usr/share/patch/charts.d.conf +++ /dev/null @@ -1,49 +0,0 @@ -# This is the configuration for charts.d.plugin - -# Each of its collectors can read configuration either from this file -# or a NAME.conf file (where NAME is the collector name). -# The collector specific file has higher precedence. - -# This file is a shell script too. - -# ----------------------------------------------------------------------------- - -# number of seconds to run without restart -# after this time, charts.d.plugin will exit -# netdata will restart it, but a small gap -# will appear in the charts.d.plugin charts. -#restart_timeout=$[3600 * 4] - -# when making iterations, charts.d can loop more frequently -# to prevent plugins missing iterations. -# this is a percentage relative to update_every to align its -# iterations. -# The minimum is 10%, the maximum 100%. -# So, if update_every is 1 second and time_divisor is 50, -# charts.d will iterate every 500ms. -# Charts will be called to collect data only if the time -# passed since the last time the collected data is equal or -# above their update_every. -#time_divisor=50 - -# ----------------------------------------------------------------------------- - -# the default enable/disable for all charts.d collectors -# the default is "yes" -enable_all_charts="no" - -# BY DEFAULT ENABLED MODULES -# ap=yes -# apcupsd=yes -# libreswan=yes -# nut=yes -# opensips=yes - -# ----------------------------------------------------------------------------- -# THESE NEED TO BE SET TO "force" TO BE ENABLED - -# Nothing useful. -# Just an example charts.d plugin you can use as a template. -# example=force - sensors=force -