object_graphitewriter.conf.erb 589 B

12345678910111213141516171819202122
  1. /**
  2. * WARNING: This GraphiteWriter definition is automatically generated by Puppet.
  3. * ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
  4. */
  5. /**
  6. * The GraphiteWriter type writes check result metrics and
  7. * performance data to a graphite tcp socket.
  8. */
  9. library "perfdata"
  10. object GraphiteWriter "graphite" {
  11. <%#- If any of the @ parameters are undefined, don't print anything for them: -%>
  12. <%- if @graphite_host -%>
  13. <%#- Otherwise, include the parameter: -%>
  14. host = "<%= @graphite_host -%>"
  15. <%- end -%>
  16. <%- if @graphite_port -%>
  17. port = <%= @graphite_port %>
  18. <%- end -%>
  19. }