Module: check_mk
Branch: master
Commit: 0bc4aba2baec9fede66385d996dce26ce09168f3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0bc4aba2baec9f…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Jun 8 12:13:35 2017 +0200
4792 FIX Fixed wrong unit in graph for tape utilization
The unit has been percent but the it's actually a counter for used tapes if all
of them would be completely filled up. Thanks to Peter Husemann for this hint.
Change-Id: I9be7c7fb4f159afe8f2afeb783f81543e8d0f03e
---
.werks/4792 | 11 +++++++++++
web/plugins/metrics/check_mk.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4792 b/.werks/4792
new file mode 100644
index 0000000..d7dc030
--- /dev/null
+++ b/.werks/4792
@@ -0,0 +1,11 @@
+Title: Fixed wrong unit in graph for tape utilization
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1496916692
+Class: fix
+
+The unit has been percent but the it's actually a counter for used tapes if all
+of them would be completely filled up. Thanks to Peter Husemann for this hint.
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 3bf4b54..91444f6 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -1077,7 +1077,7 @@ metric_info["tapes_free"] = {
metric_info["tapes_util"] = {
"title" : _("Tape utilization"),
- "unit" : "%",
+ "unit" : "count",
"color" : "#ff8020",
}