From ec3a9438b18e76bde0977407b39e588a6192d6e5 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Wed, 11 Mar 2026 15:35:44 +0100 Subject: [PATCH] add fqdn --- 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 aa07be1..1223d88 100644 --- a/manifests/nagios/objects/commands.pp +++ b/manifests/nagios/objects/commands.pp @@ -228,5 +228,15 @@ class confdroid_nagios::nagios::objects::commands ( mode => '0640', target => $ng_target_command, } + + @@nagios_command { 'check_procs': + ensure => present, + command_name => 'check_procs', + command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -a $ARG3$', + owner => $ng_user, + group => $ng_user, + mode => '0640', + target => $ng_target_command, + } } }