summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authoralasdairdc <alasdair@softhome.net>2014-01-06 10:43:32 +0000
committeralasdairdc <alasdair@softhome.net>2014-01-06 10:43:32 +0000
commit5428f5bbc3bf9bf347244376cd289ba5dd5551d1 (patch)
tree26d668cfafd35901c4f47c2fba98b27d6535e191 /files
parent04c267c307c670b17c0f7572a20a104d165d044e (diff)
downloadfail2ban-5428f5bbc3bf9bf347244376cd289ba5dd5551d1.tar.gz
Update check_fail2ban
Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.
Diffstat (limited to 'files')
-rwxr-xr-xfiles/nagios/check_fail2ban2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/nagios/check_fail2ban b/files/nagios/check_fail2ban
index 9bf14305..90c58713 100755
--- a/files/nagios/check_fail2ban
+++ b/files/nagios/check_fail2ban
@@ -190,7 +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);
+ $perf_print .= "$current_ban_number " if ($perfdata_value);
}
}
### To analyze all the jail