diff --git a/templates/nagios/nagios_cfg.erb b/templates/nagios/nagios_cfg.erb index edb95ac..d5fce39 100644 --- a/templates/nagios/nagios_cfg.erb +++ b/templates/nagios/nagios_cfg.erb @@ -137,3 +137,25 @@ service_perfdata_file_processing_command=<%= @ng_s_perfdata_proc_cmd %> host_perfdata_process_empty_results=<%= @ng_h_perfdata_proc_e_res %> service_perfdata_process_empty_results=<%= @ng_s_perfdata_proc_e_res %> <% end -%> + +obsess_over_services=<%= @ng_obsess_over_services %> +<% if @ng_obsess_over_services == '1' -%> +ocsp_command=<%= @ng_ocsp_command %> +<% end -%> + +obsess_over_hosts=<%= @ng_obsess_over_hosts %> +<% if @ng_obsess_over_hosts == '1' -%> +ochp_command=<%= @ng_ochp_command %> +<% end -%> + +translate_passive_host_checks=<%= @ng_translate_pass_h_checks %> + +passive_host_checks_are_soft=<%= @ng_pass_h_checks_are_soft %> + +check_for_orphaned_services=<%= @ng_check_orphaned_svc %> +check_for_orphaned_hosts=<%= @ng_check_orphaned_hosts %> + +check_service_freshness=<%= @ng_check_service_freshness %> +<% if @ng_check_service_freshness == '1' -%> +service_freshness_check_interval=<%= @ng_svc_fresh_check_intval %> +<% end -%>