Module: check_mk
Branch: master
Commit: e48eb33837093eab55a0af907d29b67acd70518b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e48eb33837093e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 1 16:17:29 2015 +0200
#2323 FIX df: Fix new graphs for all filesystem checks in case of existing inode
information
---
.werks/2323 | 10 ++++++++++
ChangeLog | 3 +++
web/plugins/metrics/check_mk.py | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/2323 b/.werks/2323
new file mode 100644
index 0000000..ccd6481
--- /dev/null
+++ b/.werks/2323
@@ -0,0 +1,10 @@
+Title: df: Fix new graphs for all filesystem checks in case of existing inode
information
+Level: 2
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i2
+Date: 1433168217
+
+
diff --git a/ChangeLog b/ChangeLog
index 00f500d..c20f122 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
1.2.7i2:
+ Checks & Agents:
+ * 2323 FIX: df: Fix new graphs for all filesystem checks in case of existing inode
information
+
1.2.7i1:
Core & Setup:
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index f634445..9dbc06e 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -1245,7 +1245,7 @@ check_metrics["check_mk-tcp_conn_stats"] = {
}
df_translation = {
- "~(?!fs_size|growth|trend|fs_provisioning).*" : { "name" :
"fs_used", "scale" : MB },
+ "~(?!inodes_used|fs_size|growth|trend|fs_provisioning).*" : {
"name" : "fs_used", "scale" : MB },
"fs_size" : { "scale" : MB },
"growth" : { "name" : "fs_growth", "scale"
: MB / 86400.0 },
"trend" : { "name" : "fs_trend", "scale" :
MB / 86400.0 },