added contact stanza

This commit is contained in:
Arne Teuke
2017-07-25 16:57:10 +01:00
parent 8a97768e4b
commit 6a57847a12
3 changed files with 21 additions and 8 deletions

View File

@@ -1,9 +1,15 @@
<% if @ng_template_object == 'contact' -%>
define <%= @ng_template_object %>{
name <%= @ng_template_object_name %>;
}
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' -%>