Files
confdroid_nagios/templates/nagios/templates_cfg_rule.erb
2017-07-25 16:57:10 +01:00

19 lines
794 B
Plaintext

<% if @ng_template_object == 'contact' -%>
define <%= @ng_template_object %>{
name <%= @ng_template_object_name %> ;
service_notification_period <%= @ng_svc_notification_period %> ;
host_notification_period <%= @ng_host_notification_period %> ;
service_notification_options <%= @ng_service_notification_options %> ;
host_notification_options <%= @ng_host_notification_options %> ;
service_notification_commands <%= @ng_service_notification_commands %> ;
host_notification_commands <%= @ng_host_notification_commands %> ;
register <%= @ng_object_register %> ;
}
<% elsif @ng_template_object == 'host' -%>
<% elsif @ng_template_object == 'service' -%>
<% end -%>