OP#436 more controls

This commit is contained in:
2026-03-07 12:45:54 +01:00
parent 011b7a170b
commit 285853b144
2 changed files with 45 additions and 92 deletions

View File

@@ -183,6 +183,26 @@
# @param [String] ng_ochp_timeout The OCHP timeout for Nagios. Default is '5'.
# @param [String] ng_perfdata_timeout The performance data timeout for Nagios.
# Default is '5'.
# @param [String] ng_retain_state_inf Whether to retain state information in
# Nagios. Default is '1'.
# @param [String] ng_retention_update_intval The retention update interval for
# Nagios. Default is '60'.
# @param [String] ng_use_ret_program_state Whether to use the retention program
# state in Nagios. Default is '1'.
# @param [String] ng_use_ret_scheduling_info Whether to use retained scheduling
# info in Nagios. Default is '1'.
# @param [String] ng_ret_host_attr_mask The retention host attribute mask for
# Nagios. Default is '0'.
# @param [String] ng_ret_service_attr_mask The retention service attribute mask
# for Nagios. Default is '0'.
# @param [String] ng_ret_proc_host_attr_mask The retention process host
# attribute mask for Nagios. Default is '0'.
# @param [String] ng_ret_proc_svc_attr_mask The retention process service
# attribute mask for Nagios. Default is '0'.
# @param [String] ng_ret_contact_h_attr_mask The retention contact host
# attribute mask for Nagios. Default is '0'.
# @param [String] ng_ret_contact_s_attr_mask The retention contact service
# attribute mask for Nagios. Default is '0'.
################################################################################
class confdroid_nagios::params (
@@ -258,6 +278,16 @@ class confdroid_nagios::params (
String $ng_ocsp_timeout = '5',
String $ng_ochp_timeout = '5',
String $ng_perfdata_timeout = '5',
String $ng_retain_state_inf = '1',
String $ng_retention_update_intval = '60',
String $ng_use_ret_program_state = '1',
String $ng_use_ret_scheduling_info = '1',
String $ng_ret_host_attr_mask = '0',
String $ng_ret_service_attr_mask = '0',
String $ng_ret_proc_host_attr_mask = '0',
String $ng_ret_proc_svc_attr_mask = '0',
String $ng_ret_contact_h_attr_mask = '0',
String $ng_ret_contact_s_attr_mask = '0',
# cgi.cfg
String $ng_context_help = '1',
@@ -377,6 +407,7 @@ class confdroid_nagios::params (
$ng_lock_file = "${ng_run_dir}/nagios.pid"
$ng_temp_file = "${ng_spool_dir}/nagios.tmp"
$ng_check_result_path = "${ng_spool_dir}/checkresults"
$ng_state_retention_file = "${ng_spool_dir}/retention.dat"
## old
$ng_taccgi_erb = 'confdroid_nagios/selinux/taccgi.erb'