diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-10-11 11:16:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 11:16:13 +0300 |
commit | 9370833598e7d9ea33bb65eff0542df9a84af942 (patch) | |
tree | 6b1db965b57673362b2e41911c920885b7b65e15 /collectors/plugins.d | |
parent | a5546d5c2e5850cf584b1ab400a7c51dc5b7306e (diff) |
Disable slabinfo plugin by default (#7056)
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r-- | collectors/plugins.d/plugins_d.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/plugins.d/plugins_d.c b/collectors/plugins.d/plugins_d.c index 85b670df80..5e25e98239 100644 --- a/collectors/plugins.d/plugins_d.c +++ b/collectors/plugins.d/plugins_d.c @@ -779,6 +779,9 @@ void *pluginsd_main(void *ptr) { int scan_frequency = (int) config_get_number(CONFIG_SECTION_PLUGINS, "check for new plugins every", 60); if(scan_frequency < 1) scan_frequency = 1; + // disable some plugins by default + config_get_boolean(CONFIG_SECTION_PLUGINS, "slabinfo", CONFIG_BOOLEAN_NO); + // store the errno for each plugins directory // so that we don't log broken directories on each loop int directory_errors[PLUGINSD_MAX_DIRECTORIES] = { 0 }; |