Updated check_fail2ban to return performance data for all jails and applied to specific jail code

pull/500/head
alasdairdc 2013-12-17 17:48:19 +00:00
parent 5f623596ee
commit 2e5a2b26fb
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ if ($jail_specific) {
else {
$how_many_banned = int($current_ban_number);
$return_print = $how_many_banned.' current banned IP(s) for the specific jail '.$jail_specific;
$perf_print .= "$jail_name.currentBannedIP=$current_ban_number " if ($perfdata_value);
}
}
### To analyze all the jail