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 e22bc84..9b22291 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 @@ -334,7 +334,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. 239 240 241 -242 +242 +243 +244 +245 +246 +247 +248 +249 +250 +251 +252
# File 'manifests/nagios/objects/commands.pp', line 8
@@ -572,6 +582,16 @@ class confdroid_nagios::nagios::objects::commands (
       mode         => '0640',
       target       => $ng_target_command,
     }
+
+    @@nagios_command { 'check_haproxy':
+      ensure       => present,
+      command_name => 'check_haproxy',
+      command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
+      owner        => $ng_user,
+      group        => $ng_user,
+      mode         => '0640',
+      target       => $ng_target_command,
+    }
   }
 }
diff --git a/manifests/nagios/objects/commands.pp b/manifests/nagios/objects/commands.pp index 38a7c0a..744ff5c 100644 --- a/manifests/nagios/objects/commands.pp +++ b/manifests/nagios/objects/commands.pp @@ -238,5 +238,15 @@ class confdroid_nagios::nagios::objects::commands ( mode => '0640', target => $ng_target_command, } + + @@nagios_command { 'check_haproxy': + ensure => present, + command_name => 'check_haproxy', + command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$', + owner => $ng_user, + group => $ng_user, + mode => '0640', + target => $ng_target_command, + } } }