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>
Ilya Mashchenko committed
Mar 15, 2022 at 19:43 UTC
260abf1717f7e7fb4c48de5791c531737317da28
1 file changed
+5
collectors/charts.d.plugin/charts.d.plugin.in
+5
@@ -418,6 +418,11 @@ all_enabled_charts() {
418
# find all enabled charts
419
for chart in $(all_charts); do
420
MODULE_NAME="${chart}"
421
+
422
+ if [ "$MODULE_NAME" == "apcupsd" ] && [ -n "$NETDATA_LISTENER_PORT" ]; then
423
+ info "apcupsd is temporarily disabled because of bug #12413"
424
+ continue
425
+ fi
426
427
if [ -n "${obsolete_charts["$MODULE_NAME"]}" ]; then
428
debug "is replaced by ${obsolete_charts["$MODULE_NAME"]}, skipping it."