Browse Source

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

pull/500/head
alasdairdc 11 years ago
parent
commit
2e5a2b26fb
  1. 1
      files/nagios/check_fail2ban

1
files/nagios/check_fail2ban

@ -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…
Cancel
Save