Module: check_mk
Branch: master
Commit: 734a1f54cae55a8bade52b18dc17dabb3bfc9aa3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=734a1f54cae55a…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Aug 10 15:04:43 2017 +0200
5095 FIX 'Round trip average' graph: Added warn and crit lines
Change-Id: Ieba2f1b3a053a67846ff09e39e843d8f54b55844
---
.werks/5095 | 11 +++++++++++
web/plugins/metrics/check_mk.py | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/.werks/5095 b/.werks/5095
new file mode 100644
index 0000000..93c09b9
--- /dev/null
+++ b/.werks/5095
@@ -0,0 +1,11 @@
+Title: "Round trip average" graph: Added warn and crit lines
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1502370019
+
+
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index e80afd8..94b63e5 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -7362,6 +7362,10 @@ graph_info["round_trip_average"] = {
( "rtmin", "area" ),
( "rta", "line" ),
],
+ "scalars": [
+ "rta:warn",
+ "rta:crit",
+ ]
}
for idx in range(1, MAX_NUMBER_HOPS):