Skip to content

Commit

Permalink
Merge pull request redhat-openstack#199 from ByteInternet/write_graph…
Browse files Browse the repository at this point in the history
…ite_logsenderrors

Support LogSendErrors on the write_graphite plugin
  • Loading branch information
nibalizer committed Dec 5, 2014
2 parents 4fa9f16 + 86962bb commit 0899e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/plugin/write_graphite.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
$alwaysappendds = false,
$protocol = 'tcp',
$separateinstances = false,
$logsenderrors = true,
) {
validate_bool($storerates)
validate_bool($separateinstances)
validate_bool($logsenderrors)

collectd::plugin {'write_graphite':
ensure => $ensure,
Expand Down
1 change: 1 addition & 0 deletions templates/plugin/write_graphite.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
StoreRates <%= @storerates %>
AlwaysAppendDS <%= @alwaysappendds %>
SeparateInstances <%= @separateinstances %>
LogSendErrors <%= @logsenderrors %>
<% if @collectd_version and (scope.function_versioncmp([@collectd_version, '5.4']) >= 0) -%>
Protocol "<%= @protocol %>"
<% end -%>
Expand Down

0 comments on commit 0899e82

Please sign in to comment.