diff --git a/manifests/params.pp b/manifests/params.pp index d329341..2ead138 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -503,6 +503,8 @@ # translate # DOWN/UNREACHABLE passive host check results into their proper # state for this instance of Nagios. This option is useful only if you have # distributed or failover monitoring setup. Valid options are `0` and `1`. +# @param [string] ng_pass_h_checks_are_soft Whether Nagios will treat passive +# host checks as being HARD or SOFT. Valid options are `0` and `1`. # @param [string] ng_check_orphaned_svc Whether Nagios will periodically check # for orphaned service checks.Valid options are `0` and `1`. # @param [string] ng_check_orphaned_hosts Whether Nagios will periodically @@ -527,7 +529,7 @@ # @param [string] ng_add_freshness_latency number of seconds that Nagios will # add to any host and service freshness thresholds that it calculates # (those not explicitly specified by the user). -# @param` [string] ng_enable_flap_detection Whether or not Nagios will try +# @param [string] ng_enable_flap_detection Whether or not Nagios will try # and detect hosts and services that are "flapping". Flapping occurs when a # host or service changes between # states too frequently. When Nagios # detects that a # host or service is flapping, it will temporarily suppress diff --git a/templates/nagios/nagios_cfg.erb b/templates/nagios/nagios_cfg.erb index 85c6261..35200d5 100644 --- a/templates/nagios/nagios_cfg.erb +++ b/templates/nagios/nagios_cfg.erb @@ -94,3 +94,29 @@ event_handler_timeout=<%= @ng_event_handler_timeout %> notification_timeout=<%= @ng_notification_timeout %> ocsp_timeout=<%= @ng_ocsp_timeout %> perfdata_timeout=<%= @ng_perfdata_timeout %> + +retain_state_information=<%= @ng_retain_state_inf %> +state_retention_file=<%= @ng_state_retention_file %> +retention_update_interval=<%= @ng_retention_update_intval %> +use_retained_program_state=<%= @ng_use_ret_program_state %> +use_retained_scheduling_info=<%= @ng_use_ret_scheduling_info %> +retained_host_attribute_mask=<%= @ng_ret_host_attr_mask %> +retained_service_attribute_mask=<%= @ng_ret_service_attr_mask %> +retained_process_host_attribute_mask=<%= ng_ret_proc_host_attr_mask %> +retained_process_service_attribute_mask=<%= @ng_ret_proc_svc_attr_mask %> +retained_contact_host_attribute_mask=<%= @ng_ret_contact_h_attr_mask %> +retained_contact_service_attribute_mask=<%= @ng_ret_contact_s_attr_mask %> + +interval_length=<%= @ng_interval_length %> +check_for_updates=<%= @ng_check_for_updates %> +bare_update_check=<%= @ng_bare_update_check %> + +use_aggressive_host_checking=<%= @ng_use_aggr_host_checking %> +execute_service_checks=<%= @ng_execute_service_checks %> +accept_passive_service_checks=<%= @ng_accept_pass_svc_checks %> +execute_host_checks=<%= @ng_execute_host_checks %> +accept_passive_host_checks=<%= @ng_accept_pass_host_checks %> + +enable_notifications=<%= @ng_enable_notifications %> +enable_event_handlers=<%= ng_enable_event_handlers %> +process_performance_data=<%= @ng_process_perf_data %>