Module: check_mk
Branch: master
Commit: 4d3febcbc341d31d75ed65742668380f7e7817a6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4d3febcbc341d3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 20 21:33:03 2011 +0200
Fix layout bugs
---
checks/tcp_conn_stats | 4 ++--
web/plugins/views/painters.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/tcp_conn_stats b/checks/tcp_conn_stats
index b14000d..21de0ce 100644
--- a/checks/tcp_conn_stats
+++ b/checks/tcp_conn_stats
@@ -63,10 +63,10 @@ def check_tcp_conn_stats(item, params, info):
perf.append(crit)
if num >= crit:
worst_state = 2
- infotext += "(critical at %d)(!!)" % crit
+ infotext += "(!!) (critical at %d)" % crit
elif num >= warn:
worst_state = max(1, worst_state)
- infotext += "(warning at %d)(!)" % warn
+ infotext += "(!) (warning at %d)" % warn
perfdata.append(perf)
if infotext:
info.append(infotext)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index c3abf0d..c556be6 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -1594,7 +1594,7 @@ multisite_painters["log_plugin_output"] = {
"title" : _("Log: output of check plugin"),
"short" : _("Check output"),
"columns" : ["log_plugin_output"],
- "paint" : lambda row: ("", row["log_plugin_output"])
+ "paint" : lambda row: ("",
format_plugin_output(row["log_plugin_output"]))
}
multisite_painters["log_attempt"] = {
"title" : _("Log: number of check attempt"),