Module: check_mk
Branch: master
Commit: 164db54f6ba223b19829e4a0d7ddf19d47fa700d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=164db54f6ba223…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Apr 14 16:29:46 2016 +0200
wk3027 update, missing graph
---
web/plugins/metrics/check_mk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 39c2106..b72d0d4 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -6232,9 +6232,9 @@ def create_hop_response_graph():
"metrics": [],
"optional_metrics": [],
}
- for idx in range(max_hops):
+ for idx in range(1, max_hops):
color = indexed_color(idx, max_hops)
- new_graph["metrics"].append( ("hop_%d_response_time%s" % (idx
+ 1, parse_color_into_hexrgb(color)), "line") )
+ new_graph["metrics"].append( ("hop_%d_response_time%s" %
(idx, parse_color_into_hexrgb(color)), "line") )
if idx > 0:
new_graph["optional_metrics"].append(
("hop_%d_response_time" % (idx + 1)) )