From 318c76e33961b9bc21613c84fb1127bab29eb7a3 Mon Sep 17 00:00:00 2001 From: Dave Pedu Date: Thu, 28 Jan 2016 22:33:51 -0800 Subject: [PATCH] update mapping --- pymonitor/monitors/diskspace.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pymonitor/monitors/diskspace.py b/pymonitor/monitors/diskspace.py index 688ba71..4179bf8 100644 --- a/pymonitor/monitors/diskspace.py +++ b/pymonitor/monitors/diskspace.py @@ -47,7 +47,22 @@ mapping = { "fs.raw": { "type" : "string", "index" : "not_analyzed" - } + }, + "inodesmax": { + "type": "long" + }, + "inodesfree": { + "type": "long" + }, + "inodesused": { + "type": "long" + }, + "inodesused_pct": { + "type": "double" + }, + "inodesfree_pct": { + "type": "double" + }, } } }