180 lines
5.7 KiB
Plaintext
180 lines
5.7 KiB
Plaintext
###############################################################################
|
|
########## parameterized cgi.cfg created by Puppet ##########
|
|
########## manual changes will be overwritten !!! ##########
|
|
###############################################################################
|
|
|
|
main_config_file=<%= @ng_nagios_cfg_file %>
|
|
|
|
physical_html_path=<%= @ng_share_html %>
|
|
|
|
url_html_path=/nagios
|
|
|
|
show_context_help=<%= @ng_context_help %>
|
|
|
|
use_pending_states=<%= @ng_pending_states %>
|
|
|
|
use_authentication=<%= @ng_use_auth %>
|
|
use_ssl_authentication=<%= @ng_use_ssl_auth %>
|
|
|
|
<% 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 %>
|
|
<% unless @ng_readonly_auth.empty? -%>
|
|
authorized_for_read_only=<%= @ng_readonly_auth %>
|
|
<% end -%>
|
|
<% unless @ng_statusmap_img.empty? -%>
|
|
statusmap_background_image=<%= @ng_statusmap_img %>
|
|
<% end -%>
|
|
|
|
<% 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_include %>
|
|
<% 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=1<%= @ng_result_limit %>
|
|
escape_html_tags=<%= @ng_escape_html_tags %>
|
|
|
|
|
|
|
|
# SOUND OPTIONS
|
|
# These options allow you to specify an optional audio file
|
|
# that should be played in your browser window when there are
|
|
# problems on the network. The audio files are used only in
|
|
# the status CGI. Only the sound for the most critical problem
|
|
# will be played. Order of importance (higher to lower) is as
|
|
# follows: unreachable hosts, down hosts, critical services,
|
|
# warning services, and unknown services. If there are no
|
|
# visible problems, the sound file optionally specified by
|
|
# 'normal_sound' variable will be played.
|
|
#
|
|
#
|
|
# <varname>=<sound_file>
|
|
#
|
|
# Note: All audio files must be placed in the /media subdirectory
|
|
# under the HTML path (i.e. /usr/local/nagios/share/media/).
|
|
|
|
#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
|
|
|
|
|
|
|
|
# URL TARGET FRAMES
|
|
# These options determine the target frames in which notes and
|
|
# action URLs will open.
|
|
|
|
action_url_target=_blank
|
|
notes_url_target=_blank
|
|
|
|
|
|
|
|
# LOCK AUTHOR NAMES OPTION
|
|
# This option determines whether users can change the author name
|
|
# when submitting comments, scheduling downtime. If disabled, the
|
|
# author names will be locked into their contact name, as defined in Nagios.
|
|
# Values: 0 = allow editing author names
|
|
# 1 = lock author names (disallow editing)
|
|
|
|
lock_author_names=1
|
|
|
|
|
|
|
|
# SPLUNK INTEGRATION OPTIONS
|
|
# These options allow you to enable integration with Splunk
|
|
# in the web interface. If enabled, you'll be presented with
|
|
# "Splunk It" links in various places in the CGIs (log file,
|
|
# alert history, host/service detail, etc). Useful if you're
|
|
# trying to research why a particular problem occurred.
|
|
# For more information on Splunk, visit http://www.splunk.com/
|
|
|
|
# This option determines whether the Splunk integration is enabled
|
|
# Values: 0 = disable Splunk integration
|
|
# 1 = enable Splunk integration
|
|
|
|
#enable_splunk_integration=1
|
|
|
|
# This option should be the URL used to access your instance of Splunk
|
|
#splunk_url=http://127.0.0.1:8000/
|
|
|
|
|
|
|
|
# NAVIGATION BAR SEARCH OPTIONS
|
|
# The following options allow to configure the navbar search. Default
|
|
# is to search for hostnames. With enabled navbar_search_for_addresses,
|
|
# the navbar search queries IP addresses as well. It's also possible
|
|
# to enable search for aliases by setting navbar_search_for_aliases=1.
|
|
|
|
navbar_search_for_addresses=1
|
|
navbar_search_for_aliases=1
|
|
|
|
|
|
|
|
# DEFAULTS FOR CHECKBOXES FOR ACKNOWLEDGEMENTS
|
|
# Enabling ack_no_sticky will default the "Sticky Acknowledgement" to
|
|
# be unchecked.
|
|
# Enabling ack_no_send will default the "Send Notification" to
|
|
# be unchecked.
|
|
|
|
#ack_no_sticky=0
|
|
#ack_no_send=0
|
|
|
|
|
|
|
|
# SHOW ONLY HARD STATES IS TACTICAL OVERVIEW
|
|
# This option controls whether only HARD states are counted on the
|
|
# Tactical Overview, or if both HARD and SOFT states are counted.
|
|
# Set to 1 to show only HARD states. Defaults to 0 (HARD+SOFT).
|
|
|
|
#tac_cgi_hard_only=0
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|