Module: check_mk
Branch: master
Commit: 998ac872458d92aeaf38c4f2d2bfdf5cd5ae2797
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=998ac872458d92…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Dec 19 14:12:47 2016 +0100
EC: small logging improvement in EC limit handling
Change-Id: I4110315cdb7f4db29c39d1406225fb768eb89f8c
---
bin/mkeventd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/mkeventd b/bin/mkeventd
index e6f7358..978169a 100755
--- a/bin/mkeventd
+++ b/bin/mkeventd
@@ -2746,11 +2746,11 @@ class EventServer:
if above_limit:
# Just log in verbose mode! Otherwise log file will be flooded
- verbose(" Skip processing because limit is in effect")
+ verbose(" Skip processing because limit is already in effect")
g_perfcounters.count("overflows")
return True # Prevent creation and prevent one time actions (below)
- log(" The limit has been reached")
+ log(" The %s limit has been reached" % ty)
# This is the event which reached the limit, allow creation of it. Further
# events will be stopped.