add fqdn
This commit is contained in:
@@ -218,5 +218,15 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
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,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user