Module: check_mk
Branch: master
Commit: 56bc1424823c4f7abe6308bf32dd68b5232859e0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=56bc1424823c4f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 2 13:58:50 2013 +0200
Fixed syntax error in stale handling
---
web/plugins/views/painters.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index da9e242..95bb8d0 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -282,7 +282,7 @@ def paint_service_state_short(row):
state = "p"
name = "PEND"
if is_stale(row):
- state += " stale"
+ state = str(state) + " stale"
return "state svcstate state%s" % state, name
def paint_host_state_short(row):
@@ -294,7 +294,7 @@ def paint_host_state_short(row):
state = "p"
name = "PEND"
if is_stale(row):
- state += " stale"
+ state = str(state) + " stale"
return "state hstate hstate%s" % state, name
multisite_painters["service_nagios_link"] = {