This commit is contained in:
2026-03-11 15:25:15 +01:00
parent 0f3c2d7c82
commit 3d7116a07d

View File

@@ -218,5 +218,15 @@ class confdroid_nagios::nagios::objects::commands (
mode => '0640',
target => $ng_target_command,
}
@@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,
}
}
}