From 9480031824ec2ec2ef5f16c8658d3748abb06779 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sat, 14 Feb 2026 16:38:28 +0100 Subject: [PATCH] OP#436 add more settings --- manifests/params.pp | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 850c815..712e2b3 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -47,14 +47,28 @@ # processes to 5, for example. # @param [String] ng_log_file The path to the Nagios log file. Default is # '/var/log/nagios/nagios.log'. -# @param [String] ng_object_cache_file The path to the Nagios object cache file. Default is -# '/var/spool/nagios/objects.cache'. -# @param [String] ng_precached_obj_file The path to the Nagios precached object file. Default is -# '/var/spool/nagios/objects.precache'. -# @param [String] ng_resource_file The path to the Nagios resource file. Default is -# '/etc/nagios/private/resource.cfg'. +# @param [String] ng_object_cache_file The path to the Nagios object cache file. +# Default is '/var/spool/nagios/objects.cache'. +# @param [String] ng_precached_obj_file The path to the Nagios precached object +# file. Default is '/var/spool/nagios/objects.precache'. +# @param [String] ng_resource_file The path to the Nagios resource file. +# Default is '/etc/nagios/private/resource.cfg'. # @param [String] ng_status_file The path to the Nagios status file. Default is # '/var/log/nagios/status.dat'. +# @param [String] ng_status_upd_interval The interval for updating the Nagios +# status file. Default is '10'. +# @param [String] ng_check_ext_commands Whether to enable external command +# checking in the Nagios configuration. Default is '1', which means external +# command checking will be enabled. You can set this to '0' to disable external +# command checking if needed. +# @param [String] ng_command_file The path to the Nagios command file. Default +# is '/var/spool/nagios/cmd/nagios.cmd'. +# @param [String] ng_lock_file The path to the Nagios lock file. Default is +# '/var/run/nagios/nagios.pid'. +# @param [String] ng_temp_file The path to the Nagios temporary file. Default +# is '/var/spool/nagios/nagios.tmp'. +# @param [String] ng_temp_path The path to the Nagios temporary directory. Default +# is '/tmp'. ############################################################################### class confdroid_nagios::params ( @@ -83,7 +97,12 @@ class confdroid_nagios::params ( String $ng_precached_obj_file = '/var/spool/nagios/objects.precache', String $ng_resource_file = '/etc/nagios/private/resource.cfg', String $ng_status_file = '/var/log/nagios/status.dat', - + String $ng_status_upd_interval = '10', + String $ng_check_ext_commands = '1', + String $ng_command_file = '/var/spool/nagios/cmd/nagios.cmd', + String $ng_lock_file = '/var/run/nagios/nagios.pid', + String $ng_temp_file = '/var/spool/nagios/nagios.tmp', + String $ng_temp_path = '/tmp', # httpd Boolean $ng_use_https = false,