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

cpu plugin incorrectly detection old collectd version #689

Open
fnoop opened this issue Jul 28, 2017 · 1 comment
Open

cpu plugin incorrectly detection old collectd version #689

fnoop opened this issue Jul 28, 2017 · 1 comment

Comments

@fnoop
Copy link

fnoop commented Jul 28, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.0.0
  • Ruby: 2.1.3
  • Distribution: Raspbian Jessie
  • Module version: 5.3.0

How to reproduce (e.g Puppet code you use)

    class { 'collectd::plugin::cpu':
        reportbystate => true,
        reportbycpu => true,
        valuespercentage => true,
    }

What are you seeing

If manage_package = false, the cpu plugin is still detecting an old installed package (collectd 5.4) and thus not enabling the cpu parameters valuespercentage etc.
In fact, collectd on this system is installed from source (5.7) and is functioning correctly - if manage_package is set to false, it should not look at the installed packaged version but instead either use minimum_version or some other way of determining collectd version.

What behaviour did you expect instead

Expected to get cpu config with valuespercentage and other 5.5+ parameters, but actually they are missing.

Output log

Any additional information you'd like to impart

@fnoop
Copy link
Author

fnoop commented Jul 28, 2017

If I uninstall the old system collectd packages, then this behaves as expected, correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant