OP#436 almost done cgi.cfg

This commit is contained in:
2026-03-07 16:59:51 +01:00
parent afb3310f56
commit 0cc0bb42b5
2 changed files with 72 additions and 76 deletions

View File

@@ -388,6 +388,39 @@
# @param [String] ng_escape_html_tags Whether to escape HTML tags in the Nagios
# web interface. Default is '1'.
# @param [String] ng_statusmap_img The image to use for the status map in Nagios.
# Choose a suitable value or leave empty to use the default image.
# @param [Boolean] ng_use_sound Whether to use sound in the Nagios web interface.
# Default is false.
# @param [String] ng_host_unreachable The sound file to play when a host is
# unreachable. Default is 'hostdown.wav'.
# @param [String] ng_host_down The sound file to play when a host is down.
# Default is 'hostdown.wav'.
# @param [String] ng_svc_critical The sound file to play when a service is
# critical. Default is 'critical.wav'.
# @param [String] ng_svc_warn The sound file to play when a service is warning.
# Default is 'warning.wav'.
# @param [String] ng_svc_unknown The sound file to play when a service is unknown.
# Default is 'warning.wav'.
# @param [String] ng_normal_sound The sound file to play when a host or service
# returns to normal. Default is 'noproblem.wav'.
# @param [String] ng_action_url_target The target for action URLs in the Nagios
# web interface. Default is '_blank'.
# @param [String] ng_notes_url_target The target for notes URLs in the Nagios
# web interface. Default is '_blank'.
# @param [String] ng_lock_author_names Whether to lock author names in
# the Nagios web interface. Default is '1'.
# @param [Boolean] ng_enable_splunk Whether to enable Splunk integration
# in Nagios. Default is false.
# @param [String] ng_splunk_url The URL for the Splunk instance in Nagios.
# Default is 'https://splunk.example.net:8000'.
# @param [String] ng_navbar_addresses Whether to enable navbar search for
# addresses in Nagios. Default is '1'.
# @param [String] ng_navbar_aliases Whether to enable navbar search for aliases
# in Nagios. Default is '1'.
# @param [String] ng_ack_no_sticky Whether to allow non-sticky acknowledgements
# in Nagios. Default is '1'.
# @param [String] ng_ack_no_send Whether to allow non-send acknowledgements
# in Nagios. Default is '1'.
################################################################################
class confdroid_nagios::params (
@@ -571,6 +604,22 @@ class confdroid_nagios::params (
String $ng_enable_page_tour = '1',
String $ng_result_limit = '100',
String $ng_escape_html_tags = '1',
Boolean $ng_use_sound = false,
String $ng_host_unreachable = 'hostdown.wav',
String $ng_host_down = 'hostdown.wav',
String $ng_svc_critical = 'critical.wav',
String $ng_svc_warn = 'warning.wav',
String $ng_svc_unknown = 'warning.wav',
String $ng_normal_sound = 'noproblem.wav',
String $ng_action_url_target = '_blank',
String $ng_notes_url_target = '_blank',
String $ng_lock_author_names = '1',
Boolean $ng_enable_splunk = false,
String $ng_splunk_url = 'https://splunk.example.net:8000',
String $ng_navbar_addresses = '1',
String $ng_navbar_aliases = '1',
String $ng_ack_no_sticky = '0',
String $ng_ack_no_send = '0',
# httpd
Boolean $ng_use_https = false,