Module: check_mk
Branch: master
Commit: 3751d9429fa0a508fac28ddaf1c7049bda4f2cab
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3751d9429fa0a5…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Jul 28 15:41:32 2016 +0200
3645 FIX Fixed filesystem growth/shrinkage graph by splitting it up into 2 graphs.
---
.werks/3645 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 9 ++++++++-
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/.werks/3645 b/.werks/3645
new file mode 100644
index 0000000..28cea15
--- /dev/null
+++ b/.werks/3645
@@ -0,0 +1,10 @@
+Title: Fixed filesystem growth/shrinkage graph by splitting it up into 2 graphs.
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1469713221
+
+
diff --git a/ChangeLog b/ChangeLog
index 8609e1e..2e7777b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -409,6 +409,7 @@
* 3622 FIX: Fix labelling of V-Achsis on graphs with very large numbers...
* 3722 FIX: Mobile GUI: Prevent it from being opened with regular sidebar
* 3723 FIX: Mobile GUI: Don't mix classic and mobile GUI when choosing classic on
mobile device
+ * 3645 FIX: Fixed filesystem growth/shrinkage graph by splitting it up into 2
graphs.
WATO:
* 3244 WATO BI Module: swap order of aggregation function and child node
selection...
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 357c7a7..887740f 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -5851,9 +5851,16 @@ graph_info.append({
})
graph_info.append({
- "title" : _("Growing / Shrinking"),
+ "title" : _("Growing"),
"metrics" : [
( "fs_growth.max,0,MAX", "area",
_("Growth"), ),
+ ],
+})
+
+graph_info.append({
+ "title" : _("Shrinking"),
+ "consolidation_function": "min",
+ "metrics" : [
( "fs_growth.min,0,MIN,-1,*#299dcf", "-area",
_("Shrinkage") ),
],
})