Module: check_mk
Branch: master
Commit: f91f72b09e1adc258a74e753cd9d5399ee43fc1c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f91f72b09e1adc…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 5 13:35:23 2013 +0100
Bugfix: commented paint_host_list in lib.py, reactivate later on
---
web/htdocs/lib.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/web/htdocs/lib.py b/web/htdocs/lib.py
index 61af5c6..c66a770 100644
--- a/web/htdocs/lib.py
+++ b/web/htdocs/lib.py
@@ -220,12 +220,13 @@ def format_plugin_output(output, row = None):
output = output.replace("(!)", warn_marker) \
.replace("(!!)", crit_marker) \
.replace("(?)", unknown_marker)
- if row and "[running on" in output:
- a = output.index("[running on")
- e = output.index("]", a)
- hosts = output[a+12:e].replace(" ","").split(",")
- css, h = paint_host_list(row["site"], hosts)
- output = output[:a] + "running on " + h + output[e+1:]
+ # TODO: reimplement, but considering correct paint_host_list call
+ #if row and "[running on" in output:
+ # a = output.index("[running on")
+ # e = output.index("]", a)
+ # hosts = output[a+12:e].replace(" ","").split(",")
+ # css, h = paint_host_list(row["site"], hosts)
+ # output = output[:a] + "running on " + h + output[e+1:]
return output