This commit is contained in:
2026-03-11 15:45:13 +01:00
parent ec3a9438b1
commit 696d3eff2b

View File

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