################################################################################ ##### nagios.cfg created by Puppet | manual changes will be overwritten ##### ################################################################################ ##### full reference for the original available at ##### ##### https://confdroid.com/2017/07/nagios-nagios-cfg-v-4-3-2/ ##### ################################################################################ log_file=<%= @ng_log_file %> cfg_dir=<%= @ng_conf_d_dir %> object_cache_file=<%= @ng_object_cache_file %> precached_object_file=<%= @ng_precached_obj_file %> resource_file=<%= @ng_resource_file %> status_file=<%= @ng_status_file %> status_update_interval=<%= @ng_status_upd_interval %> nagios_user=<%= @ng_user %> nagios_group=<%= @ng_user %> check_external_commands=<%= @ng_check_ext_commands %> command_file=<%= @ng_command_file %> <% if @ng_enable_query_handler == true -%> query_socket=<%= @ng_query_socket %> <% end -%> lock_file=<%= @ng_lock_file %> temp_file=<%= @ng_temp_file %> temp_path=<%= @ng_temp_path %> event_broker_options=<%= @ng_event_broker_options %> <% unless @ng_event_broker_module.empty? -%> <% @ng_event_broker_module.each do |broker_module| -%> broker_module=<%= broker_module %> <% end end -%> log_rotation_method=<%= @ng_log_rotation_method %> log_archive_path=<%= @ng_log_archive_path %> use_syslog=<%= @ng_use_syslog %> log_notifications=<%= @ng_log_notifications %> log_service_retries=<%= @ng_log_service_retries %> log_host_retries=<%= @ng_log_host_retries %> log_event_handlers=<%= @ng_log_event_handlers %> log_initial_states=<%= @ng_log_initial_states %> log_current_states=<%= @ng_log_current_states %> log_external_commands=<%= @ng_log_external_commands %> log_passive_checks=<%= @ng_log_passive_checks %> <% unless @ng_glob_host_evt_handler.empty? -%> <% @ng_glob_host_evt_handler.each do |global_host_event_handler| -%> global_host_event_handler=<%= @ng_glob_host_evt_handler %> <% end end -%> <% unless @ng_glob_svc_evt_handler.empty? -%> <% @ng_glob_svc_evt_handler.each do |global_service_event_handler| -%> global_service_event_handler=<%= @ng_glob_svc_evt_handler %> <% end end -%> service_inter_check_delay_method=<%= @ng_svc_int_check_delay %> max_service_check_spread=<%= @ng_max_svc_check_spread %> service_interleave_factor=<%= @ng_svc_interleave_factor %> host_inter_check_delay_method=<%= @ng_host_int_check_delay %> max_host_check_spread=<%= @ng_max_host_check_spread %> max_concurrent_checks=<%= @ng_max_concurrent_checks %> check_result_reaper_frequency=<%= @ng_check_res_reaper_freq %> max_check_result_reaper_time=<%= @ng_max_check_res_reap_time %> check_result_path=<%= @ng_check_result_path %> max_check_result_file_age=<%= @ng_max_check_res_file_age %> cached_host_check_horizon=<%= @ng_cached_h_check_horizon %> cached_service_check_horizon=<%= @ng_cached_s_check_horizon %>