Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: processmatch type now configures something #925

Closed
wants to merge 1 commit into from

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

Since MR #874 the processmatch
type is not working.

For instance a configuration of

collectd::plugin::processes::processmatch{'eosd':
  collect_file_descriptor => true,
  collect_memory_maps     => true,
  collect_context_switch  => false,
  regex => 'eosd .*$',
}

should create a file (on centos) /etc/collectd.d/processes-config.conf containing

<Plugin processes>
  <ProcessMatch "eosd" "eosd .*$">
    CollectContextSwitch false
    CollectFileDescriptor true
    CollectMemoryMaps true
  </ProcessMatch>
</Plugin>

but alas no configuration is created anywhere, the file itself is not even created.

Since MR voxpupuli#874 the processmatch
type is not working.

For instance a configuration of

```puppet
collectd::plugin::processes::processmatch{'eosd':
  collect_file_descriptor => true,
  collect_memory_maps     => true,
  collect_context_switch  => false,
  regex => 'eosd .*$',
}
```

should create a file (on centos) `/etc/collectd.d/processes-config.conf` containing

```apache
<Plugin processes>
  <ProcessMatch "eosd" "eosd .*$">
    CollectContextSwitch false
    CollectFileDescriptor true
    CollectMemoryMaps true
  </ProcessMatch>
</Plugin>
```

but alas no configuration is created anywhere, the file itself is not even created.
@traylenator traylenator added bug Something isn't working needs-work not ready to merge just yet labels Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-work not ready to merge just yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant