OP#672 add service target for puppetdb

This commit is contained in:
2026-09-08 13:37:32 +02:00
parent 475f7d096f
commit 396bf9d616
2 changed files with 11 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ The current nagios checks are included via `manifests/nagios/commands.pp`:
- `check_ntp_time`
- `check_fail2ban`
- `check_alloy`
- `check_puppet`, `check_puppet_server`, `check_puppetdb`
## Repo Documentation

View File

@@ -268,5 +268,15 @@ class confdroid_nagios::nagios::objects::commands (
mode => '0640',
target => $ng_target_command,
}
@@nagios_command { 'check_puppetdb':
ensure => present,
command_name => 'check_puppetdb',
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
owner => $ng_user,
group => $ng_user,
mode => '0640',
target => $ng_target_command,
}
}
}