OP#436 add more settings

This commit is contained in:
2026-02-14 18:40:28 +01:00
parent 4cdd204b28
commit 93e95ebb3f

View File

@@ -410,6 +410,10 @@
# in the Nagios configuration. Default is '', which means no specific command # 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 # will be configured for obsessive host checks. You can set this to a specific
# command if needed. # command if needed.
# @param [String] ng_h_perfdata_proc_e_res The expected result for host performance
# data processing in the Nagios configuration.
# @param [String] ng_s_perfdata_proc_e_res The expected result for service
# performance data processing in the Nagios configuration.
############################################################################### ###############################################################################
class confdroid_nagios::params ( class confdroid_nagios::params (
@@ -430,6 +434,7 @@ class confdroid_nagios::params (
# nagios_cfg settings # nagios_cfg settings
String $ng_log_file = '/var/log/nagios/nagios.log', String $ng_log_file = '/var/log/nagios/nagios.log',
String $ng_max_check_attempts = '10',
String $ng_object_cache_file = '/var/spool/nagios/objects.cache', String $ng_object_cache_file = '/var/spool/nagios/objects.cache',
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',
@@ -437,14 +442,13 @@ class confdroid_nagios::params (
String $ng_status_upd_interval = '10', String $ng_status_upd_interval = '10',
String $ng_check_ext_commands = '1', String $ng_check_ext_commands = '1',
String $ng_command_file = '/var/spool/nagios/cmd/nagios.cmd', String $ng_command_file = '/var/spool/nagios/cmd/nagios.cmd',
Boolean $ng_enable_query_handler = false,
String $ng_query_socket = '/var/spool/nagios/cmd/nagios.qh',
String $ng_lock_file = '/var/run/nagios/nagios.pid', String $ng_lock_file = '/var/run/nagios/nagios.pid',
String $ng_temp_file = '/var/spool/nagios/nagios.tmp', String $ng_temp_file = '/var/spool/nagios/nagios.tmp',
String $ng_temp_path = '/tmp', String $ng_temp_path = '/tmp',
String $ng_event_broker_options = '-1', String $ng_event_broker_options = '-1',
String $ng_event_broker_module = '', String $ng_event_broker_module = '',
String $ng_glob_host_evt_handler = '',
String $ng_glob_svc_evt_handler = '',
String $ng_check_workers = '',
String $ng_log_rotation_method = 'h', String $ng_log_rotation_method = 'h',
String $ng_log_archive_path = '/var/log/nagios/archives', String $ng_log_archive_path = '/var/log/nagios/archives',
String $ng_use_syslog = '1', String $ng_use_syslog = '1',
@@ -456,6 +460,8 @@ class confdroid_nagios::params (
String $ng_log_current_states = '1', String $ng_log_current_states = '1',
String $ng_log_external_commands = '1', String $ng_log_external_commands = '1',
String $ng_log_passive_checks = '1', String $ng_log_passive_checks = '1',
String $ng_glob_host_evt_handler = '',
String $ng_glob_svc_evt_handler = '',
String $ng_svc_int_check_delay = 's', String $ng_svc_int_check_delay = 's',
String $ng_max_svc_check_spread = '30', String $ng_max_svc_check_spread = '30',
String $ng_svc_interleave_factor = 's', String $ng_svc_interleave_factor = 's',
@@ -515,11 +521,48 @@ class confdroid_nagios::params (
String $ng_s_perfdata_proc_intval = '0', String $ng_s_perfdata_proc_intval = '0',
String $ng_h_perfdata_proc_cmd = 'process-host-perfdata-file', String $ng_h_perfdata_proc_cmd = 'process-host-perfdata-file',
String $ng_s_perfdata_proc_cmd = 'process-service-perfdata-file', String $ng_s_perfdata_proc_cmd = 'process-service-perfdata-file',
String $ng_h_perfdata_proc_e_res = '1',
String $ng_s_perfdata_proc_e_res = '1',
String $ng_obsess_over_services = '0', String $ng_obsess_over_services = '0',
String $ng_ocsp_command = '', String $ng_ocsp_command = '',
String $ng_obsess_over_hosts = '0', String $ng_obsess_over_hosts = '0',
String $ng_ochp_command = '', String $ng_ochp_command = '',
String $ng_translate_pass_h_checks = '0',
String $ng_pass_h_checks_are_soft = '0',
String $ng_check_orphaned_svc = '1',
String $ng_check_orphaned_hosts = '1',
String $ng_check_service_freshness = '1',
String $ng_svc_fresh_check_intval = '60',
String $ng_svc_check_timeout_state = 'c',
String $ng_check_host_freshness = '0',
String $ng_host_fresh_check_intval = '60',
String $ng_add_freshness_latency = '15',
String $ng_enable_flap_detection = '1',
String $ng_low_svc_flap_threshold = '5.0',
String $ng_high_svc_flap_threshold = '20.0',
String $ng_low_h_flap_threshold = '5.0',
String $ng_high_h_flap_threshold = '20.0',
String $ng_date_format = 'us',
Boolean $ng_use_timezone_offset = false,
String $ng_use_timezone = '',
String $ng_illegal_obj_name_chars = '`~!$%^&*|\'"<>?,()=',
String $ng_ill_macro_output_chars = '`~$&|\'"<>',
String $ng_use_regexp_matching = '0',
String $ng_true_regexp_matching = '0',
String $ng_daemon_dumps_core = '0',
String $ng_use_large_inst_tweaks = '0',
String $ng_enable_env_macros = '0',
String $ng_free_child_process_mem = '1',
String $ng_child_proc_fork_twice = '1',
String $ng_debug_level = '0',
String $ng_debug_verbosity = '1',
String $ng_debug_file = '/var/spool/nagios/nagios.debug',
String $ng_max_debug_file_size = '1000000',
String $ng_allow_empty_hostgroups = '0',
String $ng_check_workers = '',
String $ng_host_down_svc_checks = '0',
Boolean $ng_enable_load_ctl_options = false,
String $ng_loadctl_options = 'jobs_max=100;backoff_limit=10;rampup_change=5',
# httpd # httpd
Boolean $ng_use_https = false, Boolean $ng_use_https = false,