8000 Remove the global "kc" variable. · Issue #2503 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove the global "kc" variable. #2503
Open
@octo

Description

@octo

One of the very few global variables in collectd is kstat_ctl_t *kc, which is used by some plugins to read system level metrics. This variable should go, and so should the re-initialization of plugins when kstat_chain_update() signals that the kstat chain changed.

The following plugins use kc and need to be fixed:

  • cpu
  • disk
  • interface
  • nfs
  • processes
  • tape
  • uptime
  • zfs_arc

This is primarily a tracking issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationship 2CEB s

None yet

Development

No branches or pull requests

Issue actions

    0