module-icinga2/templates/object_graphitewriter.conf.erb
Steven Bambling 2e8770f9cb feature to create/add graphitewriter configurtion
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/24
2014-10-02 21:02:01 -07:00

22 خطوط
589 B
Text

/**
* 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 -%>
}