From 305b2eb6d56cbf19076267ec849257515b7e59b1 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sat, 14 Feb 2026 16:32:42 +0100 Subject: [PATCH] OP#436 add more settings --- manifests/params.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/manifests/params.pp b/manifests/params.pp index 1aedcba..850c815 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -45,6 +45,16 @@ # which means no specific number of check worker processes will be configured. # You can specify a number like '5' to set the number of check worker # 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_status_file The path to the Nagios status file. Default is +# '/var/log/nagios/status.dat'. ############################################################################### class confdroid_nagios::params ( @@ -68,6 +78,12 @@ class confdroid_nagios::params ( String $ng_glob_host_evt_handler = '', String $ng_glob_svc_evt_handler = '', String $ng_check_workers = '', + String $ng_log_file = '/var/log/nagios/nagios.log', + String $ng_object_cache_file = '/var/spool/nagios/objects.cache', + 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', + # httpd Boolean $ng_use_https = false,