Page MenuHomeSoftware Heritage

object_service.conf.erb
No OneTemporary

object_service.conf.erb

/**
* WARNING: This service definition is automatically generated by Puppet.
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
*/
/**
* A service definition. You can create your own configuration files
* in the conf.d directory (e.g. one per host). By default all *.conf
* files in this directory are included.
*
*/
// Parameters to add:
// * enable_notifications
// * enable_active_checks
// * enable_passive_checks
// * enable_event_handler
// * enable_flap_detection
// * enable_perfdata
// * event_command
// * flapping_threshold
// * volatile
// * notes
// * notes_url
// * action_url
// * icon_image
// * icon_image_alt
object Service "<%= @object_servicename %>" {
<%#- If any of the @ parameters are undefined, don't print anything for them: -%>
<%- if @template_to_import -%>
<%#- Otherwise, include the parameter: -%>
import "<%= @template_to_import -%>"
<%- end -%>
<%- if @display_name -%>
display_name = "<%= @display_name -%>"
<%- end -%>
<%- if @host_name -%>
host_name = "<%= @host_name -%>"
<%- end -%>
<%- if @groups.length != 0 -%>
groups = [ <%- @groups.each do |group| -%> "<%= group %>", <%- end -%>]
<%- end -%>
<%- if @vars.empty? != true -%>
<%- @vars.each_pair do |key, value| -%>
vars.<%= key %> = "<%= value %>"
<%- end -%>
<%- end -%>
<%- if @check_command -%>
check_command = "<%= @check_command -%>"
<%- end -%>
<%- if @max_check_attempts -%>
max_check_attempts = <%= @max_check_attempts -%>
<%- end -%>
<%- if @check_period -%>
check_period = <%= @check_period -%>
<%- end -%>
<%- if @check_interval -%>
check_interval = <%= @check_interval -%>
<%- end -%>
<%- if @retry_interval -%>
retry_interval = <%= @retry_interval -%>
<%- end -%>
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 7:27 PM (9 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399183

Event Timeline