Module: check_mk
Branch: master
Commit: 34fcdc23e574a25d953d6322645272632953566e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=34fcdc23e574a2…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Mar 1 11:10:08 2017 +0100
Combined graphs: show aggregation in graph title
Change-Id: I669559c87c83333a8f59e5f057d8b8b178728798
---
ZUTUN.graphing | 4 ++--
web/htdocs/metrics.py | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ZUTUN.graphing b/ZUTUN.graphing
index 91b81cf..cb2a6b9 100644
--- a/ZUTUN.graphing
+++ b/ZUTUN.graphing
@@ -1,5 +1,3 @@
-[1] Alles HIRN: abarbeiten
-
[2] Profilen und Performance verbessern
@@ -10,6 +8,8 @@
[19] Umswitchen der Darstellungsarten über die Knöpfe soll den gewählten
Zeitbereich beibehalten. Geht das überhaupt?
+[21] Sortierung der Hosts im Graphen ist chaotisch -> numsort
+
TESTEN
--------------------------------------------------------------------------------
diff --git a/web/htdocs/metrics.py b/web/htdocs/metrics.py
index 02c68b1..d51a57f 100644
--- a/web/htdocs/metrics.py
+++ b/web/htdocs/metrics.py
@@ -251,13 +251,13 @@ def get_hue_by_weight_index(weight_index):
hsv_color_distribution = [
(0.1, 10.0), # orange ... red
(0.2, 10.0), # orange ... yellow(-greenish)
- (0.3, 5.0), # green-yellow
- (0.4, 2.0), # green
- (0.5, 5.0), # green .... cyan
+ (0.3, 5.0), # green-yellow
+ (0.4, 2.0), # green
+ (0.5, 5.0), # green .... cyan
(0.6, 20.0), # cyan ... seablue
(0.7, 10.0), # seablue ... dark blue
(0.8, 20.0), # dark blue ... violet
- (0.9, 10.0), # violet .. magenta
+ (0.9, 20.0), # violet .. magenta
(1.0, 20.0), # magenta .. red
]