diff --git a/manifests/nagios/objects/commands.pp b/manifests/nagios/objects/commands.pp index 1223d88..7e45892 100644 --- a/manifests/nagios/objects/commands.pp +++ b/manifests/nagios/objects/commands.pp @@ -222,17 +222,7 @@ class confdroid_nagios::nagios::objects::commands ( @@nagios_command { 'check_fail2ban': ensure => present, command_name => 'check_fail2ban', - command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$', - owner => $ng_user, - group => $ng_user, - 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$', + command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$', owner => $ng_user, group => $ng_user, mode => '0640',