OP#436 add more settings

This commit is contained in:
2026-02-14 16:32:42 +01:00
parent b6d7760df4
commit 305b2eb6d5

View File

@@ -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,