Module: check_mk
Branch: master
Commit: 35925ccc998a23d9a843472955b81336ab20017a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35925ccc998a23…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Fri Oct 19 16:09:47 2018 +0200
6834 df: Optionally produce metrics compatible to unix df command
Exclude space reserved for the <tt>root</tt> user from calculation of used
space.
By default Check_MK treats space that is reserved for the <tt>root</tt> user
on
Linux and Unix as used space. Usually, 5% are being reserved for root when a new
filesystem is being created.
With this new option in the ruleset "Filesystem (used space and growth)" you
can
have Check_MK exclude the current amount of reserved but yet unused space from
the calculations regarding the used space (absolute and percentage).
CMK-1181
Change-Id: I5fef83d8edbf965257815c06ed3e5bfb99705680
---
.werks/6834 | 18 ++++++++
checks/df.include | 52 ++++++++++++++--------
cmk/gui/plugins/metrics/check_mk.py | 34 +++++++++++++-
cmk/gui/plugins/wato/check_parameters.py | 14 +++++-
.../generictests/datasets/df_lnx_regression.py | 14 ++++++
.../datasets/netapp_api_qtree_quota_regression.py | 2 +-
6 files changed, 112 insertions(+), 22 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=35925ccc99…