mirror of https://github.com/fail2ban/fail2ban
Updated check_fail2ban to return performance data for all jails and applied to specific jail code
parent
5f623596ee
commit
2e5a2b26fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue