OP#436 add more settings

This commit is contained in:
2026-02-14 16:38:28 +01:00
parent 305b2eb6d5
commit 9480031824

View File

@@ -47,14 +47,28 @@
# processes to 5, for example. # processes to 5, for example.
# @param [String] ng_log_file The path to the Nagios log file. Default is # @param [String] ng_log_file The path to the Nagios log file. Default is
# '/var/log/nagios/nagios.log'. # '/var/log/nagios/nagios.log'.
# @param [String] ng_object_cache_file The path to the Nagios object cache file. Default is # @param [String] ng_object_cache_file The path to the Nagios object cache file.
# '/var/spool/nagios/objects.cache'. # Default is '/var/spool/nagios/objects.cache'.
# @param [String] ng_precached_obj_file The path to the Nagios precached object file. Default is # @param [String] ng_precached_obj_file The path to the Nagios precached object
# '/var/spool/nagios/objects.precache'. # file. Default is '/var/spool/nagios/objects.precache'.
# @param [String] ng_resource_file The path to the Nagios resource file. Default is # @param [String] ng_resource_file The path to the Nagios resource file.
# '/etc/nagios/private/resource.cfg'. # Default is '/etc/nagios/private/resource.cfg'.
# @param [String] ng_status_file The path to the Nagios status file. Default is # @param [String] ng_status_file The path to the Nagios status file. Default is
# '/var/log/nagios/status.dat'. # '/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 ( class confdroid_nagios::params (
@@ -83,7 +97,12 @@ class confdroid_nagios::params (
String $ng_precached_obj_file = '/var/spool/nagios/objects.precache', String $ng_precached_obj_file = '/var/spool/nagios/objects.precache',
String $ng_resource_file = '/etc/nagios/private/resource.cfg', String $ng_resource_file = '/etc/nagios/private/resource.cfg',
String $ng_status_file = '/var/log/nagios/status.dat', 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 # httpd
Boolean $ng_use_https = false, Boolean $ng_use_https = false,