Skip to content

Commit

Permalink
fixes voxpupuli#901 by excluding the ReportRelative option
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberkov committed Feb 11, 2020
1 parent f05d440 commit 12e32f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/plugin/load.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<% if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.5']) >= 0) -%>
<Plugin load>
<% if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.9']) == 0) -%>
ReportRelative <%= @report_relative %>
<% end -%>
</Plugin>
<% end -%>

1 comment on commit 12e32f3

@traylenator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cyberkov should't this be to add ReportRelative unless collectd version is 5.9 ?

Currently this is if it 5.9.

Original bug voxpupuli#901
and upstream bug:

collectd/collectd#3180

Please sign in to comment.