diff --git a/ChangeLog b/ChangeLog index edf4591c..fb00db91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,8 @@ ver. 0.8.12 (2013/12/XX) - things-can-only-get-better Closes gh-516 - Asynchat changed to use push method which verifys whether all data was send. This ensures that all data is sent before closing the connection. + - Removed unnecessary reference to as yet undeclared $jail_name when checking + a specific jail. - Enhancements: - added firewallcmd-ipset action diff --git a/files/nagios/check_fail2ban b/files/nagios/check_fail2ban index d4f9834f..fc88e654 100755 --- a/files/nagios/check_fail2ban +++ b/files/nagios/check_fail2ban @@ -191,7 +191,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); + $perf_print .= "$current_ban_number " if ($perfdata_value); } } ### To analyze all the jail