OP#483 edit target for nagios

This commit is contained in:
2026-03-12 12:33:00 +01:00
parent c3fe00ecbd
commit f93a349f96
2 changed files with 5 additions and 1 deletions

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_nrpe!check_fail2ban!1:1!fail2ban-server',
check_command => "check_nrpe!check_fail2ban!${fn_procs_allowed}!fail2ban-server",
use => 'generic-service',
host_name => $fqdn,
notification_period => '24x7',