Module: check_mk
Branch: master
Commit: b5ab139fd218592bc3b0551e21e5f6e0fea35299
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b5ab139fd21859…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Sep 11 12:32:42 2015 +0200
ntp, ntp.time: better graph layout
---
web/plugins/metrics/check_mk.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index cb199df..efd3728 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -1009,7 +1009,7 @@ metric_info["time_offset"] = {
}
metric_info["jitter"] = {
- "title" : _("Time dispersion"),
+ "title" : _("Time dispersion (jitter)"),
"unit" : "s",
"color" : "43/b",
}
@@ -4447,6 +4447,13 @@ graph_info.append({
( "time_offset", "area" ),
( "jitter", "line" )
],
+ "scalars" : [
+ ( "time_offset:crit", _("Upper critical level")),
+ ( "time_offset:warn", _("Upper warning level")),
+ ( "0,time_offset:warn,-", _("Lower warning level")),
+ ( "0,time_offset:crit,-", _("Lower critical level")),
+ ],
+ "range" : ( "0,time_offset:crit,-", "time_offset:crit"
),
})
graph_info.append({