Skip to content

Commit

Permalink
plugin/ntpd: IncludeUnitID option only available in collectd > 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
x-way committed Jan 20, 2015
1 parent 1990227 commit acb5074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/plugin/ntpd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
Host "<%= @host %>"
Port "<%= @port %>"
ReverseLookups <%= @reverselookups %>
<% if @collectd_version and scope.function_versioncmp([@collectd_version, '5.2']) > 0 -%>
IncludeUnitID <%= @includeunitid %>
<% end -%>
</Plugin>

0 comments on commit acb5074

Please sign in to comment.