OP#436 more cgi.cfg

This commit is contained in:
2026-03-07 16:29:42 +01:00
parent b5cd5d5a37
commit c5778d0cc9
2 changed files with 59 additions and 124 deletions

View File

@@ -336,8 +336,6 @@
# options in Nagios. Default is false.
# @param [String] ng_load_ctl_options The load control options for Nagios.
# Default is 'jobs_max=100;backoff_limit=10;rampup_change=5'.
# @param [String] ng_context_help Whether to enable context-sensitive
# help in Nagios. Default is '1'.
# @param [String] ng_pending_states Whether to use pending states in Nagios.
# Default is '1'.
# @param [String] ng_use_auth Whether to use authentication in Nagios.
@@ -348,7 +346,7 @@
# Nagios. Default is false.
# @param [String] ng_def_user_name The name of the default user in Nagios.
# Change to a suitable value.
# @param [String] ng_sysinfo_auth Additional username for the sysinfo
# @param [String] ng_sysinfo_auth Additional username for the sysinfo
# authentication in Nagios. Choose a suitable value or leave empty
# @param [String] ng_confinfo_auth Additional username for the confinfo
# authentication in Nagios. Choose a suitable value or leave empty
@@ -364,6 +362,31 @@
# authentication in Nagios. Choose a suitable value or leave empty
# @param [String] ng_readonly_auth Additional username for the read-only
# authentication in Nagios. Choose a suitable value or leave empty
# @param [Boolean] ng_use_colormap Whether to use colormap in Nagios.
# Default is false.
# @param [String] ng_colormap_red The color code for red in the colormap for
# Nagios. Default is '255'.
# @param [String] ng_colormap_green The color code for green in the colormap for
# Nagios. Default is '255'.
# @param [String] ng_colormap_blue The color code for blue in the colormap for
# Nagios. Default is '255 '.
# @param [String] ng_statusmap_layout The layout for the status map in Nagios.
# Default is '6'.
# @param [String] ng_wrl_layout The layout for the WRL in Nagios. Default is '4'.
# @param [Boolean] ng_incl_own_wrl Whether to include own WRL in Nagios.
# Default is false.
# @param [String] ng_statuswrl_include The WRL file to include in Nagios.
# Default is empty.
# @param [String] ng_ping_syntax The syntax for the check_ping command in Nagios.
# Default is '/bin/ping -n -U -c 5 $HOSTADDRESS$'.
# @param [String] ng_refresh_rate The refresh rate for the Nagios CGIs.
# Default is '90'.
# @param [String] ng_enable_page_tour Whether to enable the page tour in the
# Nagios web interface. Default is '1'.
# @param [String] ng_result_limit The result limit for the Nagios CGIs.
# Default is '100'.
# @param [String] ng_escape_html_tags Whether to escape HTML tags in the Nagios
# web interface. Default is '1'.
################################################################################
class confdroid_nagios::params (
@@ -533,6 +556,19 @@ class confdroid_nagios::params (
String $ng_host_cmd_auth = '',
String $ng_svc_cmd_auth = '',
String $ng_readonly_auth = '' ,
Boolean $ng_use_colormap = false,
String $ng_colormap_red = '255',
String $ng_colormap_green = '255',
String $ng_colormap_blue = '255',
String $ng_statusmap_layout = '6',
String $ng_wrl_layout = '4',
Boolean $ng_incl_own_wrl = false,
String $ng_statuswrl_include = '',
String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$',
String $ng_refresh_rate = '90',
String $ng_enable_page_tour = '1',
String $ng_result_limit = '100',
String $ng_escape_html_tags = '1',
# httpd
Boolean $ng_use_https = false,