module-icinga2/templates/object_graphitewriter.conf.erb

23 lines
589 B
Text
Raw Normal View History

/**
* WARNING: This GraphiteWriter definition is automatically generated by Puppet.
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
*/
/**
* The GraphiteWriter type writes check result metrics and
* performance data to a graphite tcp socket.
*/
library "perfdata"
object GraphiteWriter "graphite" {
<%#- If any of the @ parameters are undefined, don't print anything for them: -%>
<%- if @graphite_host -%>
<%#- Otherwise, include the parameter: -%>
host = "<%= @graphite_host -%>"
<%- end -%>
<%- if @graphite_port -%>
port = <%= @graphite_port %>
<%- end -%>
}