OP#483 add target for nagios
This commit is contained in:
@@ -8,7 +8,7 @@ class confdroid_fail2ban::monitoring::target (
|
|||||||
) inherits confdroid_fail2ban::params {
|
) inherits confdroid_fail2ban::params {
|
||||||
if $fn_incl_target == true {
|
if $fn_incl_target == true {
|
||||||
@@nagios_service { "check_fail2ban_${fqdn}":
|
@@nagios_service { "check_fail2ban_${fqdn}":
|
||||||
check_command => 'check_nrpe!check_procs!-c 1:1!-C fail2ban-server',
|
check_command => 'check_nrpe!check_fail2ban!1:1!fail2ban-server',
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => $fqdn,
|
host_name => $fqdn,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
|
|||||||
Reference in New Issue
Block a user