object_perfdatawriter.conf.erb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * WARNING: This PerfdataWtiter definition is automatically generated by Puppet.
  3. * ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
  4. */
  5. /**
  6. * A PerfdataWriter definition. You can create your own configuration files
  7. * in the conf.d directory (e.g. one per commnand). By default all *.conf
  8. * files in this directory are included.
  9. *
  10. */
  11. library "perfdata"
  12. object PerfdataWriter "<%= @object_perfdatawritername %>" {
  13. <%#- If any of the @ parameters are undefined, don't print anything for them: -%>
  14. <%- if @host_perfdata_path -%>
  15. host_perfdata_path = "<%= @host_perfdata_path %>"
  16. <%- end -%>
  17. <%- if @service_perfdata_path -%>
  18. service_perfdata_path = "<%= @service_perfdata_path %>"
  19. <%- end -%>
  20. <%- if @host_temp_path -%>
  21. host_temp_path = "<%= @host_temp_path %>"
  22. <%- end -%>
  23. <%- if @service_temp_path -%>
  24. service_temp_path = "<%= @service_temp_path %>"
  25. <%- end -%>
  26. <%- if @host_format_template -%>
  27. host_format_template = "<%= @host_format_template %>"
  28. <%- end -%>
  29. <%- if @service_format_template -%>
  30. service_format_template = "<%= @service_format_template %>"
  31. <%- end -%>
  32. <%- if @rotation_interval -%>
  33. rotation_interval = <%= @rotation_interval %>
  34. <%- end -%>
  35. }