5b289000e2
Signed-off-by: Nick Chappell <nick@intronic.org> Merged from: https://github.com/Icinga/puppet-icinga2/pull/47 refs#7220: https://dev.icinga.org/issues/7220
44 řádky
1,2 KiB
Text
44 řádky
1,2 KiB
Text
/**
|
|
* WARNING: This PerfdataWtiter definition is automatically generated by Puppet.
|
|
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
|
|
*/
|
|
|
|
/**
|
|
* A PerfdataWriter definition. You can create your own configuration files
|
|
* in the conf.d directory (e.g. one per commnand). By default all *.conf
|
|
* files in this directory are included.
|
|
*
|
|
*/
|
|
|
|
library "perfdata"
|
|
|
|
object PerfdataWriter "<%= @object_perfdatawritername %>" {
|
|
<%#- If any of the @ parameters are undefined, don't print anything for them: -%>
|
|
<%- if @host_perfdata_path -%>
|
|
|
|
host_perfdata_path = "<%= @host_perfdata_path %>"
|
|
<%- end -%>
|
|
<%- if @service_perfdata_path -%>
|
|
|
|
service_perfdata_path = "<%= @service_perfdata_path %>"
|
|
<%- end -%>
|
|
<%- if @host_temp_path -%>
|
|
|
|
host_temp_path = "<%= @host_temp_path %>"
|
|
<%- end -%>
|
|
<%- if @service_temp_path -%>
|
|
|
|
service_temp_path = "<%= @service_temp_path %>"
|
|
<%- end -%>
|
|
|
|
<%- if @host_format_template -%>
|
|
host_format_template = "<%= @host_format_template %>"
|
|
<%- end -%>
|
|
<%- if @service_format_template -%>
|
|
service_format_template = "<%= @service_format_template %>"
|
|
<%- end -%>
|
|
<%- if @rotation_interval -%>
|
|
|
|
rotation_interval = <%= @rotation_interval %>
|
|
<%- end -%>
|
|
}
|