From d15e97f7181a36f122f6e193e091885edb7cc44a Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 7 Sep 2026 15:46:07 +0200 Subject: [PATCH] OP#672 add check_haproxy command --- manifests/nagios/objects/commands.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, + } } }