diff --git a/README.md b/README.md index 294f2039..3ed9163a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/manifests/nagios/objects/commands.pp b/manifests/nagios/objects/commands.pp index 18cbdffc..e60a2775 100644 --- a/manifests/nagios/objects/commands.pp +++ b/manifests/nagios/objects/commands.pp @@ -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, + } } }