OP#436 add variable

This commit is contained in:
2026-03-01 16:50:24 +01:00
parent bd23897d28
commit 1c0e50828f
2 changed files with 6 additions and 1 deletions

View File

@@ -95,6 +95,8 @@
# Default is 'present'.
# @param [String] ng_max_check_attempts The maximum number of check attempts
# before a host or service is considered down. Default is '10'.
# @param [Boolean] ng_enable_swap_check Whether to enable the check_swap
# command. Default is true.
###############################################################################
class confdroid_nagios::params (
@@ -164,6 +166,9 @@ class confdroid_nagios::params (
String $ng_load_crit = '10.00,6.00,4.00',
String $ng_load_ensure = 'present',
# single nagios checks
Boolean $ng_enable_swap_check = true,
) {
# Default facts
$fqdn = $facts['networking']['fqdn']