OP#436 add more settings

This commit is contained in:
2026-02-14 18:33:49 +01:00
parent 2df06676d5
commit 4cdd204b28

View File

@@ -348,9 +348,6 @@
# @param [String] ng_enable_event_handlers Whether to enable event handlers in # @param [String] ng_enable_event_handlers Whether to enable event handlers in
# the Nagios configuration. Default is '1', which means event handlers will be # the Nagios configuration. Default is '1', which means event handlers will be
# enabled. You can set this to '0' to disable event handlers if needed. # enabled. You can set this to '0' to disable event handlers if needed.
# @param [String] ng_enable_flap_detection Whether to enable flap detection in
# the Nagios configuration. Default is '1', which means flap detection will be
# enabled. You can set this to '0' to disable flap detection if needed.
# @param [String] ng_process_perf_data Whether to process performance data in # @param [String] ng_process_perf_data Whether to process performance data in
# the Nagios configuration. Default is '1', which means performance data will # the Nagios configuration. Default is '1', which means performance data will
# be processed. You can set this to '0' to disable processing of performance # be processed. You can set this to '0' to disable processing of performance
@@ -398,6 +395,21 @@
# performance data in the Nagios configuration. # performance data in the Nagios configuration.
# @param [String] ng_h_perfdata_proc_cmd The command to process host # @param [String] ng_h_perfdata_proc_cmd The command to process host
# performance data in the Nagios configuration. # performance data in the Nagios configuration.
# @param [String] ng_obsess_over_services Whether to obsess over services in
# the Nagios configuration. Default is '0', which means not to obsess over
# services. You can set this to '1' to enable obsessing over services if
# needed.
# @param [String] ng_ocsp_command The command to process obsessive service
# checks in the Nagios configuration. Default is '', which means no specific
# command will be configured for obsessive service checks. You can set this
# to a specific command if needed.
# @param [String] ng_obsess_over_hosts Whether to obsess over hosts in the
# Nagios configuration. Default is '0', which means not to obsess over hosts.
# You can set this to '1' to enable obsessing over hosts if needed.
# @param [String] ng_ochp_command The command to process obsessive host checks
# in the Nagios configuration. Default is '', which means no specific command
# will be configured for obsessive host checks. You can set this to a specific
# command if needed.
############################################################################### ###############################################################################
class confdroid_nagios::params ( class confdroid_nagios::params (
@@ -503,6 +515,11 @@ class confdroid_nagios::params (
String $ng_s_perfdata_proc_intval = '0', String $ng_s_perfdata_proc_intval = '0',
String $ng_h_perfdata_proc_cmd = 'process-host-perfdata-file', String $ng_h_perfdata_proc_cmd = 'process-host-perfdata-file',
String $ng_s_perfdata_proc_cmd = 'process-service-perfdata-file', String $ng_s_perfdata_proc_cmd = 'process-service-perfdata-file',
String $ng_obsess_over_services = '0',
String $ng_ocsp_command = '',
String $ng_obsess_over_hosts = '0',
String $ng_ochp_command = '',
# httpd # httpd
Boolean $ng_use_https = false, Boolean $ng_use_https = false,