From 4cdd204b2809906ee873dbfcdb6ed0012bfd307d Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sat, 14 Feb 2026 18:33:49 +0100 Subject: [PATCH] OP#436 add more settings --- manifests/params.pp | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 7be5fe9..78c70f8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -348,9 +348,6 @@ # @param [String] ng_enable_event_handlers Whether to enable event handlers in # 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. -# @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 # the Nagios configuration. Default is '1', which means performance data will # be processed. You can set this to '0' to disable processing of performance @@ -398,6 +395,21 @@ # performance data in the Nagios configuration. # @param [String] ng_h_perfdata_proc_cmd The command to process host # 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 ( @@ -503,6 +515,11 @@ class confdroid_nagios::params ( String $ng_s_perfdata_proc_intval = '0', String $ng_h_perfdata_proc_cmd = 'process-host-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 Boolean $ng_use_https = false,