summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LogActio/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/LogActio/__init__.py b/LogActio/__init__.py
index a7f0c54..95aa66a 100644
--- a/LogActio/__init__.py
+++ b/LogActio/__init__.py
@@ -130,7 +130,7 @@ class WatcherThread(threading.Thread):
rep = alert.has_key("reporters") and alert["reporters"] or self.__reporters
for r in rep:
r.ProcessEvent(self.__logfile, alert["prefix"], info,
- alert["threshold"].GetCurrentCount(regexmatch), alert["threshold"].GetThreshold())
+ alert["threshold"].GetCurrentCount(regexmatch)+1, alert["threshold"].GetThreshold())
# If reset-rule-rate-limits is set, make a note to reset these
# counters after all alerts have been processed