diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /collectors/slabinfo.plugin | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-upstream/1.44.3.tar.xz netdata-upstream/1.44.3.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/slabinfo.plugin')
-rw-r--r-- | collectors/slabinfo.plugin/integrations/linux_kernel_slab_allocator_statistics.md | 3 | ||||
-rw-r--r-- | collectors/slabinfo.plugin/slabinfo.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/collectors/slabinfo.plugin/integrations/linux_kernel_slab_allocator_statistics.md b/collectors/slabinfo.plugin/integrations/linux_kernel_slab_allocator_statistics.md index 54ccf605f..ce8115270 100644 --- a/collectors/slabinfo.plugin/integrations/linux_kernel_slab_allocator_statistics.md +++ b/collectors/slabinfo.plugin/integrations/linux_kernel_slab_allocator_statistics.md @@ -4,6 +4,7 @@ meta_yaml: "https://github.com/netdata/netdata/edit/master/collectors/slabinfo.p sidebar_label: "Linux kernel SLAB allocator statistics" learn_status: "Published" learn_rel_path: "Data Collection/Linux Systems/Kernel" +most_popular: False message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" endmeta--> @@ -120,7 +121,7 @@ sudo ./edit-config netdata.conf | Name | Description | Default | Required | |:----|:-----------|:-------|:--------:| -| Enable plugin | As described above plugin is disabled by default, this option is used to enable plugin. | no | True | +| Enable plugin | As described above plugin is disabled by default, this option is used to enable plugin. | no | yes | </details> diff --git a/collectors/slabinfo.plugin/slabinfo.c b/collectors/slabinfo.plugin/slabinfo.c index 366cba643..9b9119a6e 100644 --- a/collectors/slabinfo.plugin/slabinfo.c +++ b/collectors/slabinfo.plugin/slabinfo.c @@ -336,14 +336,11 @@ void usage(void) { } int main(int argc, char **argv) { - stderror = stderr; clocks_init(); + nd_log_initialize_for_external_plugins("slabinfo.plugin"); program_name = argv[0]; program_version = "0.1"; - error_log_syslog = 0; - - log_set_global_severity_for_external_plugins(); int update_every = 1, i, n, freq = 0; |