Module: check_mk
Branch: master
Commit: 0ba05fa94204e6fe991f913f8953da3322b6b999
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0ba05fa94204e6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 23 14:54:50 2015 +0200
Fixed scaling of ping levels in new metrics
---
web/plugins/metrics/check_mk.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index a7db95f..aeab587 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -2636,14 +2636,16 @@ metric_info["managed_object_count"] = {
# '----------------------------------------------------------------------'
check_metrics["check-mk-ping"] = {
- "rta" : { "scale" : m }
+ "rta" : { "scale" : m },
+ "rtmax" : { "scale" : m },
+ "rtmin" : { "scale" : m },
}
check_metrics["check-mk-ping-cluster"] = {
- "~.*rta": { "name" : "rta" },
- "~.*pl": { "name" : "pl" },
- "~.*rtmax": { "name" : "rtmax" },
- "~.*rtmin": { "name" : "rtmin" },
+ "~.*rta" : { "name" : "rta", "scale": m
},
+ "~.*pl" : { "name" : "pl", "scale": m
},
+ "~.*rtmax" : { "name" : "rtmax", "scale": m
},
+ "~.*rtmin" : { "name" : "rtmin", "scale": m
},
}
check_metrics["check_mk_active-mail_loop"] = {