From 396bf9d616ec51180d26f5682177f379fbed1f12 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Tue, 8 Sep 2026 13:37:32 +0200 Subject: [PATCH 1/2] OP#672 add service target for puppetdb --- README.md | 1 + manifests/nagios/objects/commands.pp | 10 ++++++++++ 2 files changed, 11 insertions(+) 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, + } } } From 3d24ba990e257ff9140bf19664ecd67cd9fc355b Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Tue, 8 Sep 2026 13:39:59 +0200 Subject: [PATCH 2/2] Recommit for updates in build 245 --- doc/file.README.html | 2 ++ doc/index.html | 2 ++ ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 22 ++++++++++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) 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

  • Repo Documentation

    diff --git a/doc/index.html b/doc/index.html index de0ac406..da3b1e81 100644 --- a/doc/index.html +++ b/doc/index.html @@ -193,6 +193,8 @@

    check_fail2ban

  • check_alloy

    +
  • +

    check_puppet, check_puppet_server, check_puppetdb

  • Repo Documentation

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html index dc8d8ec0..c0b9b5c7 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html @@ -364,7 +364,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. 269 270 271 -272 +272 +273 +274 +275 +276 +277 +278 +279 +280 +281 +282
    # 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,
    +    }
       }
     }