Module: check_mk
Branch: master
Commit: 99440b540ab087afdb609e9bcfc1ae152e8a3acd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=99440b540ab087…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Jan 8 14:54:09 2016 +0100
#2822 FIX Availabiltiy: Fixed exception while rendering the timeline
The error message <i>'valuespec' is not defined</i> will no longer
show up with certain filter settings.
---
.werks/2822 | 11 +++++++++++
ChangeLog | 1 +
web/htdocs/availability.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/2822 b/.werks/2822
new file mode 100644
index 0000000..62ac955
--- /dev/null
+++ b/.werks/2822
@@ -0,0 +1,11 @@
+Title: Availabiltiy: Fixed exception while rendering the timeline
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i4
+Date: 1452261103
+Class: fix
+
+The error message <i>'valuespec' is not defined</i> will no longer
+show up with certain filter settings.
+
diff --git a/ChangeLog b/ChangeLog
index 4e484c5..0a5a35a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -207,6 +207,7 @@
* 2810 FIX: esx_vsphere_counters, winperf_phydisk: fixed exception on pnpgraph
overview page...
* 2895 FIX: Fixed broken "back to view" links after checkbox actions in
views...
* 2896 FIX: Improved handling of wrong encoded input strings...
+ * 2822 FIX: Availabiltiy: Fixed exception while rendering the timeline...
WATO:
* 2442 WATO remove host: improved cleanup of obsolete host files...
diff --git a/web/htdocs/availability.py b/web/htdocs/availability.py
index 5ec7802..28a66c6 100644
--- a/web/htdocs/availability.py
+++ b/web/htdocs/availability.py
@@ -1249,7 +1249,7 @@ def find_next_choord(broken, scale):
broken[1] = 1
broken[0] += 1
epoch = time.mktime(broken)
- title = "%s %d" % (valuespec.month_names[broken[1]-1], broken[0])
+ title = "%s %d" % (month_names[broken[1]-1], broken[0])
dst = broken[8]
if old_dst == 1 and dst == 0: