From d57274747a8e494936a6198f39e7b7f279ff6aa3 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 25 Jul 2017 15:25:50 +0100 Subject: [PATCH] template syntax --- templates/nagios/nagios_cfg.erb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/nagios/nagios_cfg.erb b/templates/nagios/nagios_cfg.erb index d5fce39..a4b4bdf 100644 --- a/templates/nagios/nagios_cfg.erb +++ b/templates/nagios/nagios_cfg.erb @@ -159,3 +159,19 @@ check_service_freshness=<%= @ng_check_service_freshness %> <% if @ng_check_service_freshness == '1' -%> service_freshness_check_interval=<%= @ng_svc_fresh_check_intval %> <% end -%> + +service_check_timeout_state=<%= @ng_svc_check_timeout_state %> + +check_host_freshness=<%= @ng_check_host_freshness %> +<% if @ng_check_host_freshness == '1' -%> +host_freshness_check_interval=<%= @ng_host_fresh_check_intval %> +<% end -%> + +additional_freshness_latency=<%= @ng_add_freshness_latency %> + +enable_flap_detection=<%= @ng_enable_flap_detection %> +<% if @ng_enable_flap_detection == '1' -%> +low_service_flap_threshold=<%= @ng_low_svc_flap_threshold %> +high_service_flap_threshold=<%= @ng_high_svc_flap_threshold %> +low_host_flap_threshold=<%= @ng_low_h_flap_threshold %> +high_host_flap_threshold=<%= @ng_high_h_flap_threshold %>