summaryrefslogtreecommitdiffstats
path: root/collectors/plugins.d
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-07-31 17:40:24 +0300
committerGitHub <noreply@github.com>2023-07-31 17:40:24 +0300
commit35d435438997574119807c589668c29e288e184b (patch)
tree96af05f458a267d4bd95a6db7e194e9907937535 /collectors/plugins.d
parent33b98a003fdbf2dc3a379a7a8188f35c6bb68b44 (diff)
disable freeipmi in docker by default (#15651)
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r--collectors/plugins.d/plugins_d.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/collectors/plugins.d/plugins_d.c b/collectors/plugins.d/plugins_d.c
index 1e9d71ee1a..36dfb5a82e 100644
--- a/collectors/plugins.d/plugins_d.c
+++ b/collectors/plugins.d/plugins_d.c
@@ -217,6 +217,11 @@ void *pluginsd_main(void *ptr)
// disable some plugins by default
config_get_boolean(CONFIG_SECTION_PLUGINS, "slabinfo", CONFIG_BOOLEAN_NO);
+ // it crashes (both threads) on Alpine after we made it multi-threaded
+ // works with "--device /dev/ipmi0", but this is not default
+ // see https://github.com/netdata/netdata/pull/15564 for details
+ if (getenv("NETDATA_LISTENER_PORT"))
+ config_get_boolean(CONFIG_SECTION_PLUGINS, "freeipmi", CONFIG_BOOLEAN_NO);
// store the errno for each plugins directory
// so that we don't log broken directories on each loop