42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
################################################################################
|
|
##### 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 -%>
|