Files

117 lines
3.8 KiB
Plaintext
Raw Permalink Normal View History

2026-02-14 15:41:26 +01:00
###############################################################################
########## parameterized cgi.cfg created by Puppet ##########
########## manual changes will be overwritten !!! ##########
###############################################################################
2026-03-07 15:39:36 +01:00
main_config_file=<%= @ng_nagios_cfg_file %>
2026-02-14 15:41:26 +01:00
physical_html_path=<%= @ng_share_html %>
url_html_path=/nagios
show_context_help=<%= @ng_context_help %>
2026-03-07 15:39:36 +01:00
use_pending_states=<%= @ng_pending_states %>
2026-02-14 15:41:26 +01:00
use_authentication=<%= @ng_use_auth %>
use_ssl_authentication=<%= @ng_use_ssl_auth %>
2026-03-08 15:00:21 +01:00
<% if @ng_enable_def_user == true -%>
default_user_name=<%= @ng_def_user_name %>
<% else -%>
#default_user_name=guest
<% end -%>
authorized_for_system_information=<%= @ng_main_user %>,<%= @ng_sysinfo_auth %>
authorized_for_configuration_information=<%= @ng_main_user %>,<%= @ng_confinfo_auth %>
authorized_for_system_commands=<%= @ng_main_user %>,<%= @ng_command_auth %>
authorized_for_all_services=<%= @ng_main_user %>,<%= @ng_serviceview_auth %>
authorized_for_all_hosts=<%= @ng_main_user %>,<%= @ng_hostview_auth %>
authorized_for_all_service_commands=<%= @ng_main_user %>,<%= @ng_svc_cmd_auth %>
authorized_for_all_host_commands=<%= @ng_main_user %>,<%= @ng_host_cmd_auth %>
2026-03-07 15:39:36 +01:00
2026-03-08 15:18:34 +01:00
<% unless @ng_readonly_auth.nil? -%>
2026-03-08 15:03:06 +01:00
authorized_for_read_only=<%= @ng_readonly_auth %>
<% end -%>
2026-03-08 15:18:34 +01:00
<% unless @ng_statusmap_img.nil? -%>
2026-03-08 15:03:06 +01:00
statusmap_background_image=<%= @ng_statusmap_img %>
<% end -%>
2026-03-08 15:07:33 +01:00
<% if @ng_use_colormap == true -%>
color_transparency_index_r=<%= @ng_colormap_red %>
color_transparency_index_g=<%= @ng_colormap_green %>
color_transparency_index_b=<%= @ng_colormap_blue %>
<% else -%>
#color_transparency_index_r=255
#color_transparency_index_g=255
#color_transparency_index_b=255
<% end -%>
default_statusmap_layout=<%= @ng_statusmap_layout%>
default_statuswrl_layout=<%= @ng_wrl_layout %>
<% if @ng_incl_own_wrl == true -%>
statuswrl_include=<%= @ng_statuswrl_incl %>
<% else -%>
#statuswrl_include=myworld.wrl
<% end -%>
ping_syntax=<%= @ng_ping_syntax %>
refresh_rate=<%= @ng_refresh_rate %>
enable_page_tour=<%= @ng_enable_page_tour %>
result_limit=<%= @ng_result_limit %>
escape_html_tags=<%= @ng_escape_html_tags %>
<% if @ng_use_sound == true -%>
host_unreachable_sound=<%= @ng_host_unreachable %>
host_down_sound=<%= @ng_host_down %>
service_critical_sound=<%= @ng_svc_critical %>
service_warning_sound=<%= @ng_svc_warn %>
service_unknown_sound=<%= @ng_svc_unknown %>
normal_sound=<%= @ng_normal_sound %>
<% else -%>
#host_unreachable_sound=hostdown.wav
#host_down_sound=hostdown.wav
#service_critical_sound=critical.wav
#service_warning_sound=warning.wav
#service_unknown_sound=warning.wav
#normal_sound=noproblem.wav
<% end -%>
action_url_target=<%= @ng_action_url_target %>
notes_url_target=<%= @ng_notes_url_target %>
lock_author_names=<%= @ng_lock_author_names %>
<% if @ng_enable_splunk -%>
enable_splunk_integration=1
splunk_url=<%= @ng_splunk_url %>
<% else -%>
enable_splunk_integration=0
#splunk_url=http://127.0.0.1:8000/
<% end -%>
navbar_search_for_addresses=<%= @ng_navbar_addresses %>
navbar_search_for_aliases=<%= @ng_navbar_aliases %>
ack_no_sticky=<%= @ng_ack_no_sticky %>
ack_no_send=<%= @ng_ack_no_send %>
tac_cgi_hard_only=<%= @ng_tac_cgi_hard_only %>
# COMMAND COMMENTS
# These options control whether or not comments are required, optional,
# or not allowed for specific commands. The format for each line is:
# cmd-name=req,def-comment
#
# cmd-name is "CMT_" plus a command such as ADD_HOST_COMMENT
# req 0 = not allowed, 1 = optional, 2 = required
# def-comment optional default comment that will be put in the input field
#
# The following examples override the default comment requirements in
# some way.
#CMT_ADD_HOST_COMMENT=1
#CMT_ACKNOWLEDGE_HOST_PROBLEM=2,"Problem is being looked into"
#CMT_SCHEDULE_SVC_CHECK=1
#CMT_SCHEDULE_HOST_DOWNTIME=0