OP#436 add full service details

This commit is contained in:
2026-03-01 18:32:17 +01:00
parent ce677978aa
commit 33e27b57c5
2 changed files with 178 additions and 0 deletions

View File

@@ -97,6 +97,8 @@
# to update the status file. Default is '10'.
# @param [String] ng_check_ext_commands Whether to allow external commands
# to be submitted to Nagios. Default is '1'.
# @param [String] ng_user The user to run the Nagios service as.
# Default is 'nagios'.
###############################################################################
class confdroid_nagios::params (
@@ -111,6 +113,7 @@ class confdroid_nagios::params (
String $ng_max_check_attempts = '10',
String $ng_status_upd_interval = '10',
String $ng_check_ext_commands = '1',
String $ng_user = 'nagios',
# contact groups
String $ng_contactgroup_name = 'admins',
@@ -174,6 +177,7 @@ class confdroid_nagios::params (
) {
# Default facts
$fqdn = $facts['networking']['fqdn']
$hostname = $facts['networking']['hostname']
$domain = $facts['networking']['domain']
$os_name = $facts['os']['name']
$os_release = $facts['os']['release']['major']