OP#436 more controls

This commit is contained in:
2026-03-07 14:10:14 +01:00
parent 1369c33a61
commit 69fec002be
2 changed files with 91 additions and 184 deletions

View File

@@ -249,6 +249,44 @@
# host performance data in Nagios. Default is '0'.
# @param [String] ng_s_perfdata_proc_e_result The expected result for processing
# service performance data in Nagios. Default is '0'.
# @param [String] ng_obsess_over_services Whether to enable obsessing over
# services in Nagios. Default is '0'.
# @param [String] ng_ocsp_command The command to run for obsessive compulsive
# service processing in Nagios. Default is 'somecommand'.
# @param [String] ng_obsess_over_hosts Whether to enable obsessing over
# hosts in Nagios. Default is '0'.
# @param [String] ng_ochp_command The command to run for obsessive compulsive
# host processing in Nagios. Default is 'somecommand'.
# @param [String] ng_translate_pass_h_checks Whether to translate passive host
# checks in Nagios. Default is '0'.
# @param [String] ng_pass_h_checks_are_soft Whether to treat passive host
# checks as soft in Nagios. Default is '0'.
# @param [String] ng_check_orphaned_svc Whether to check for orphaned service
# checks in Nagios. Default is '1'.
# @param [String] ng_check_orphaned_hosts Whether to check for orphaned host
# checks in Nagios. Default is '1'.
# @param [String] ng_check_service_freshness Whether to check for service
# freshness in Nagios. Default is '1'.
# @param [String] ng_svc_fresh_check_intval The interval for checking service
# freshness in Nagios. Default is '60'.
# @param [String] ng_svc_check_timeout_state The state to set a service to when
# it times out in Nagios. Default is 'c'.
# @param [String] ng_check_host_freshness Whether to check for host freshness in
# Nagios. Default is '1'.
# @param [String] ng_host_fresh_check_intval The interval for checking host
# freshness in Nagios. Default is '60'.
# @param [String] ng_add_freshness_latency The additional latency threshold for
# freshness checks in Nagios. Default is '15'.
# @param [String] ng_enable_flap_detection Whether to enable flap detection in
# Nagios. Default is '1'.
# @param [String] ng_low_svc_flap_threshold The low service flap threshold for
# Nagios. Default is '5.0'.
# @param [String] ng_high_svc_flap_threshold The high service flap threshold for
# Nagios. Default is '20.0'.
# @param [String] ng_low_h_flap_threshold The low host flap threshold for
# Nagios. Default is '5.0'.
# @param [String] ng_high_h_flap_threshold The high host flap threshold for
# Nagios. Default is '20.0'.
################################################################################
class confdroid_nagios::params (
@@ -357,6 +395,25 @@ class confdroid_nagios::params (
String $ng_s_perfdata_proc_cmd = 'process-service-perfdata',
String $ng_h_perfdata_proc_e_result = '0',
String $ng_s_perfdata_proc_e_result = '0',
String $ng_obsess_over_services = '0',
String $ng_ocsp_command = 'somecommand',
String $ng_obsess_over_hosts = '0',
String $ng_ochp_command = 'somecommand',
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 = '1',
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',
# cgi.cfg
String $ng_context_help = '1',