Module: check_mk
Branch: master
Commit: 40a06a5ce380c1bb6e72359bcdfdba6db2e29faf
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=40a06a5ce380c1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 5 09:33:46 2019 +0200
Add new host attribute for flexible labels
* Start with implementation of labels. An alternative concept to the
already available host tags. A major difference is, that tags are
based on a predefined collection of tags (tag groups, tag ids) in Check_MK.
Labels are more flexible and can be created ad-hoc.
* The explicit labels attribute is inherited from folders to hosts. Each
object may add a set of labels on it's own to the effective labels.
* A label has the format "key:value". For example "os:windows".
* Each host can have only one value per key. In case folders and hosts
define a value for the same key, the value next to the host will win.
CMK-1933
Change-Id: Ie6a893636c290cc50d5ecc4fd66f5266474721ec
---
cmk/gui/plugins/wato/builtin_attributes.py | 32 ++++++++++++++++++++++
cmk/gui/valuespec.py | 19 +++++++++++++
cmk/gui/wato/pages/folders.py | 3 ++
cmk/gui/watolib/hosts_and_folders.py | 18 ++++++++++++
cmk_base/config.py | 1 +
cmk_base/core_config.py | 10 ++++---
cmk_base/default_config/base.py | 1 +
tests/unit/cmk/gui/watolib/test_host_attributes.py | 13 +++++++++
tests/unit/cmk_base/test_core_config.py | 31 +++++----------------
9 files changed, 100 insertions(+), 28 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=40a06a5ce3…
Module: check_mk
Branch: master
Commit: 555d50b6c2758c74fdcb6f4aced005782c65d1bb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=555d50b6c2758c…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Fri Apr 5 14:20:53 2019 +0200
mongodb_collections: adjust manpage
Change-Id: I1317e3f440c1b624fa51f77039f8af143c949632
---
checkman/mongodb_collections | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checkman/mongodb_collections b/checkman/mongodb_collections
index 59bfc32..cfd5824 100644
--- a/checkman/mongodb_collections
+++ b/checkman/mongodb_collections
@@ -4,7 +4,7 @@ catalog: app/mongodb
license: GPL
distribution: check_mk
description:
- This check monitors the size and growth of MongoDB collections.
+ This check monitors the size of MongoDB collections.
Note: If the MongoDB is running as a replica set, this check is not discovered
on the same host where the {mk_mongodb} plugin is installed. The data is piggybacked