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/doc/file.README.html b/doc/file.README.html index f2159dd2..bcc16395 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -193,6 +193,8 @@
check_fail2ban
check_alloy
check_puppet, check_puppet_server, check_puppetdb
check_fail2ban
check_alloy
check_puppet, check_puppet_server, check_puppetdb
# File 'manifests/nagios/objects/commands.pp', line 8
@@ -632,6 +642,16 @@ 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,
+ }
}
}