2e8770f9cb
Signed-off-by: Nick Chappell <nick@intronic.org> Taken from: https://github.com/Icinga/puppet-icinga2/pull/24
22 lines
589 B
Text
22 lines
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 -%>
|
|
}
|