From 633a321f039294983913d9df0e41ba3728a6a0cd Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Mon, 23 Dec 2019 18:41:46 +0100 Subject: [PATCH] updates templates for service and host with notification options --- templates/nagios/templates_cfg_rule.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/nagios/templates_cfg_rule.erb b/templates/nagios/templates_cfg_rule.erb index 87042ce..7daa9ef 100644 --- a/templates/nagios/templates_cfg_rule.erb +++ b/templates/nagios/templates_cfg_rule.erb @@ -20,7 +20,8 @@ define <%= @ng_template_object %>{ process_perf_data <%= @ng_process_perf_data %> retain_status_information <%= @ng_retain_status_information %> retain_nonstatus_information <%= @ng_retain_nonstatus_information %> - notification_period <%= @ng_notification_period %> + notification_period <%= @ng_notification_period %> + notification_options <%= @ng_host_notification_options %> register <%= @ng_object_register %> } <% end -%> @@ -113,6 +114,7 @@ define <%= @ng_template_object %>{ check_interval <%= @ng_check_interval %> retry_interval <%= @ng_retry_interval %> contact_groups <%= @ng_contact_groups %> + notification_options <%= @ng_service_notification_options %> notification_interval <%= @ng_notification_interval %> notification_period <%= @ng_notification_period %> register <%= @ng_object_register %>