Module: check_mk
Branch: master
Commit: c0bb36c9e04de31232b30a1fba57407462d1babc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0bb36c9e04de3…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Fri Sep 23 11:58:21 2016 +0200
3840 FIX cisco_qos: Fixed wrong units in graphs
The used units in graphs for QoS-Services changed from bytes/s to bits/s
and is now equivalent to other network service graphs.
---
.werks/3840 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/3840 b/.werks/3840
new file mode 100644
index 0000000..4f1849b
--- /dev/null
+++ b/.werks/3840
@@ -0,0 +1,10 @@
+Title: cisco_qos: Fixed wrong units in graphs
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1474624292
+Class: fix
+
+The used units in graphs for QoS-Services changed from bytes/s to bits/s
+and is now equivalent to other network service graphs.
diff --git a/ChangeLog b/ChangeLog
index e954315..85676c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -407,6 +407,7 @@
* 3812 FIX: winperf_phydisk: reintroduced read and write queue length performance
data...
* 3813 FIX: check_mail: fixed missing base64 decoding on multipart mails
* 3888 FIX: df checks: Fixed invalid displayed WARN / CRIT lines in graphs when using
"bytes left" thresholds
+ * 3840 FIX: cisco_qos: Fixed wrong units in graphs...
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 45144ff..5f16b11 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -5780,8 +5780,8 @@ graph_info.append({
graph_info.append({
"title" : _("QoS class traffic"),
"metrics" : [
- ( "qos_outbound_bytes_rate", "area" ),
- ( "qos_dropped_bytes_rate", "-area" ),
+ ( "qos_outbound_bytes_rate,8,*@bits/s", "area" ),
+ ( "qos_dropped_bytes_rate,8,*@bits/s", "-area" ),
],
})