Module: check_mk
Branch: master
Commit: 9651e779731f5aad7f0d614fb6169f5ec44a6abd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9651e779731f5a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 24 11:16:35 2012 +0200
Removed debug output int count_ok aggregation
---
ChangeLog | 1 +
web/htdocs/bi.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c982b92..9e82da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@
BI:
* New aggregation function count_ok, that counts the number
of nodes in state OK.
+ * FIX: Removed debug output int count_ok aggregation
Checks & Agents:
* AIX: convert NIC check to lnx_if (now being compatible with if/if64)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 6d19aa2..5e04325 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -876,7 +876,7 @@ def aggr_countok(nodes, needed_for_ok=2, needed_for_warn=1):
elif num_ok >= int(needed_for_warn):
return { "state" : 1, "output" : "" }
else:
- return { "state" : 2, "output" : "%r / %d" %
(states, num_ok) }
+ return { "state" : 2, "output" : "" }
config.aggregation_functions["count_ok"] = aggr_countok