OP#483 add target for nagios

This commit is contained in:
2026-03-11 15:45:38 +01:00
parent 495c249514
commit bbdbb5f636

View File

@@ -8,7 +8,7 @@ class confdroid_fail2ban::monitoring::target (
) inherits confdroid_fail2ban::params {
if $fn_incl_target == true {
@@nagios_service { "check_fail2ban_${fqdn}":
check_command => 'check_procs -c 1:1 -a fail2ban-server',
check_command => 'check_procs -c 1:1 -C fail2ban-server',
use => 'generic-service',
host_name => $fqdn,
notification_period => '24x7',