summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-03-15 19:43:12 +0200
committerGitHub <noreply@github.com>2022-03-15 13:43:12 -0400
commit260abf1717f7e7fb4c48de5791c531737317da28 (patch)
tree452ac6a9415d4681f671615def5afa241b44c68a /collectors
parent84bcecd4bcf04e664758e3a4b39638c0b4adb206 (diff)
fix: temporary disable charts.d apcupsd collectors (#12415)
* disable charts apcupds * disable only in containers * Update collectors/charts.d.plugin/charts.d.plugin.in Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
Diffstat (limited to 'collectors')
-rwxr-xr-xcollectors/charts.d.plugin/charts.d.plugin.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in
index 9187fc25d2..ef31330f61 100755
--- a/collectors/charts.d.plugin/charts.d.plugin.in
+++ b/collectors/charts.d.plugin/charts.d.plugin.in
@@ -418,6 +418,11 @@ all_enabled_charts() {
# find all enabled charts
for chart in $(all_charts); do
MODULE_NAME="${chart}"
+
+ if [ "$MODULE_NAME" == "apcupsd" ] && [ -n "$NETDATA_LISTENER_PORT" ]; then
+ info "apcupsd is temporarily disabled because of bug #12413"
+ continue
+ fi
if [ -n "${obsolete_charts["$MODULE_NAME"]}" ]; then
debug "is replaced by ${obsolete_charts["$MODULE_NAME"]}, skipping it."