Module: check_mk
Branch: master
Commit: 8599e9fda238fc2d743eecddc1e534195eb286ea
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8599e9fda238fc…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Dec 13 09:18:06 2018 +0100
mk_filestats: rework
* only create one single check
* plugin always reports count
* use existing metric name
* change service description to 'File group %s'
Change-Id: Ibaf0ef3e672c0218344c1b4bc36ad689768b4301
---
agents/plugins/mk_filestats.py | 21 ++--
checkman/filestats | 5 +-
checkman/filestats.count_only | 31 ------
checkman/filestats.extremes_only | 32 ------
checks/filestats | 119 +++------------------
.../checks/generictests/datasets/filestats_1.py | 57 +++++-----
.../datasets/filestats_broken_sections.py | 38 +++++++
.../generictests/datasets/filestats_count_only.py | 31 ------
8 files changed, 101 insertions(+), 233 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=8599e9fda2…