-
-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepending `::` to classes is unneeded since Puppet 3-ish… Time to get rid of this.
- Loading branch information
Showing
8 changed files
with
63 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<% if versioncmp($::collectd::collectd_version_real, '5.5') >= 0 { -%> | ||
<% if versioncmp($collectd::collectd_version_real, '5.5') >= 0 { -%> | ||
<Plugin cpu> | ||
ReportByState <%= $::collectd::plugin::cpu::reportbystate %> | ||
ReportByCpu <%= $::collectd::plugin::cpu::reportbycpu %> | ||
ValuesPercentage <%= $::collectd::plugin::cpu::valuespercentage %> | ||
<% if versioncmp($::collectd::collectd_version_real, '5.6') >= 0 { -%> | ||
ReportNumCpu <%= $::collectd::plugin::cpu::reportnumcpu %> | ||
ReportByState <%= $collectd::plugin::cpu::reportbystate %> | ||
ReportByCpu <%= $collectd::plugin::cpu::reportbycpu %> | ||
ValuesPercentage <%= $collectd::plugin::cpu::valuespercentage %> | ||
<% if versioncmp($collectd::collectd_version_real, '5.6') >= 0 { -%> | ||
ReportNumCpu <%= $collectd::plugin::cpu::reportnumcpu %> | ||
<% } -%> | ||
<% if versioncmp($::collectd::collectd_version_real, '5.8') >= 0 { -%> | ||
ReportGuestState <%= $::collectd::plugin::cpu::reportgueststate %> | ||
SubtractGuestState <%= $::collectd::plugin::cpu::subtractgueststate %> | ||
<% if versioncmp($collectd::collectd_version_real, '5.8') >= 0 { -%> | ||
ReportGuestState <%= $collectd::plugin::cpu::reportgueststate %> | ||
SubtractGuestState <%= $collectd::plugin::cpu::subtractgueststate %> | ||
<% } -%> | ||
</Plugin> | ||
<% } -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<Plugin procevent> | ||
<% unless $::collectd::plugin::procevent::process =~ Undef { -%> | ||
Process "<%= $::collectd::plugin::procevent::process %>" | ||
<% unless $collectd::plugin::procevent::process =~ Undef { -%> | ||
Process "<%= $collectd::plugin::procevent::process %>" | ||
<% } -%> | ||
<% unless $::collectd::plugin::procevent::process_regex =~ Undef { -%> | ||
ProcessRegex "<%= $::collectd::plugin::procevent::process_regex %>" | ||
<% unless $collectd::plugin::procevent::process_regex =~ Undef { -%> | ||
ProcessRegex "<%= $collectd::plugin::procevent::process_regex %>" | ||
<% } -%> | ||
<% unless $::collectd::plugin::procevent::buffer_length =~ Undef { -%> | ||
BufferLength <%= $::collectd::plugin::procevent::buffer_length %> | ||
<% unless $collectd::plugin::procevent::buffer_length =~ Undef { -%> | ||
BufferLength <%= $collectd::plugin::procevent::buffer_length %> | ||
<% } -%> | ||
</Plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<Plugin swap> | ||
ReportByDevice <%= $::collectd::plugin::swap::reportbydevice %> | ||
<% if versioncmp($::collectd::collectd_version_real, '5.2') > 0 { -%> | ||
ReportBytes <%= $::collectd::plugin::swap::reportbytes %> | ||
ReportByDevice <%= $collectd::plugin::swap::reportbydevice %> | ||
<% if versioncmp($collectd::collectd_version_real, '5.2') > 0 { -%> | ||
ReportBytes <%= $collectd::plugin::swap::reportbytes %> | ||
<% } -%> | ||
<% if versioncmp($::collectd::collectd_version_real, '5.5') > 0 { -%> | ||
ValuesAbsolute <%= $::collectd::plugin::swap::valuesabsolute %> | ||
ValuesPercentage <%= $::collectd::plugin::swap::valuespercentage %> | ||
<% if versioncmp($collectd::collectd_version_real, '5.5') > 0 { -%> | ||
ValuesAbsolute <%= $collectd::plugin::swap::valuesabsolute %> | ||
ValuesPercentage <%= $collectd::plugin::swap::valuespercentage %> | ||
<% } -%> | ||
<% if versioncmp($::collectd::collectd_version_real, '5.8') > 0 { -%> | ||
ReportIO <%= $::collectd::plugin::swap::reportio %> | ||
<% if versioncmp($collectd::collectd_version_real, '5.8') > 0 { -%> | ||
ReportIO <%= $collectd::plugin::swap::reportio %> | ||
<% } -%> | ||
</Plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<Plugin sysevent> | ||
Listen "<%= $::collectd::plugin::sysevent::listen_host %>" "<%= $::collectd::plugin::sysevent::listen_port %>" | ||
RegexFilter "<%= $::collectd::plugin::sysevent::regex_filter %>" | ||
<% unless $::collectd::plugin::sysevent::buffer_size =~ Undef { -%> | ||
BufferSize <%= $::collectd::plugin::sysevent::buffer_size %> | ||
Listen "<%= $collectd::plugin::sysevent::listen_host %>" "<%= $collectd::plugin::sysevent::listen_port %>" | ||
RegexFilter "<%= $collectd::plugin::sysevent::regex_filter %>" | ||
<% unless $collectd::plugin::sysevent::buffer_size =~ Undef { -%> | ||
BufferSize <%= $collectd::plugin::sysevent::buffer_size %> | ||
<% } -%> | ||
<% unless $::collectd::plugin::sysevent::buffer_length =~ Undef { -%> | ||
BufferLength <%= $::collectd::plugin::sysevent::buffer_length %> | ||
<% unless $collectd::plugin::sysevent::buffer_length =~ Undef { -%> | ||
BufferLength <%= $collectd::plugin::sysevent::buffer_length %> | ||
<% } -%> | ||
</Plugin> |