OP#436 more controls

This commit is contained in:
2026-03-07 12:15:18 +01:00
parent 6c153ba938
commit b59371333f
2 changed files with 22 additions and 74 deletions

View File

@@ -151,6 +151,16 @@
# Nagios. Default is '10'.
# @param [String] ng_max_check_res_reap_time The maximum check result reaper time
# for Nagios. Default is '30'.
# @param [String] ng_max_check_res_file_age The maximum check result file age for
# Nagios. Default is '3600'.
# @param [String] ng_cached_h_check_horizon The cached host check horizon for
# Nagios. Default is '15'.
# @param [String] ng_cached_s_check_horizon The cached service check horizon for
# Nagios. Default is '15'.
# @param [String] ng_pred_host_dep_checks Whether to enable predictive host
# dependency checks in Nagios. Default is '1'.
# @param [String] ng_pred_svc_dep_checks Whether to enable predictive service
# dependency checks in Nagios. Default is '1'.
################################################################################
class confdroid_nagios::params (
@@ -209,6 +219,11 @@ class confdroid_nagios::params (
String $ng_max_concurrent_checks = '0',
String $ng_check_res_reaper_freq = '10',
String $ng_max_check_res_reap_time = '30',
String $ng_max_check_res_file_age = '3600',
String $ng_cached_h_check_horizon = '15',
String $ng_cached_s_check_horizon = '15',
String $ng_pred_host_dep_checks = '1',
String $ng_pred_svc_dep_checks = '1',
# cgi.cfg
String $ng_context_help = '1',
@@ -327,6 +342,7 @@ class confdroid_nagios::params (
$ng_command_file = "${ng_cmd_dir}/nagios.cmd"
$ng_lock_file = "${ng_run_dir}/nagios.pid"
$ng_temp_file = "${ng_spool_dir}/nagios.tmp"
$ng_check_result_path = "${ng_spool_dir}/checkresults"
## old
$ng_taccgi_erb = 'confdroid_nagios/selinux/taccgi.erb'