Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 1d7ce75b9290d3cd15b9cf951cfc8dda03b8e2f6
https://github.com/tribe29/checkmk/commit/1d7ce75b9290d3cd15b9cf951cfc8dda0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
Changed paths:
A cmk/utils/labels.py
M cmk_base/config.py
M cmk_base/discovered_labels.py
M cmk_base/inventory.py
A tests/unit/cmk/utils/test_labels.py
M tests/unit/cmk_base/test_discovered_labels.py
Log Message:
-----------
Move label processing to dedicated module
The labels will be needed in cmk_base and cmk.gui code once it they
will be used for ruleset matching. Moved the common code (mainly the
effective label calculation) to cmk.utils.labels to prepare for that.
CMK-1942
Change-Id: I5bdb813218100a880648387c0b0ae53d38bbe428
Commit: 83dde58f108d61d5c844b126621d7a0fa976a3a3
https://github.com/tribe29/checkmk/commit/83dde58f108d61d5c844b126621d7a0fa…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
Changed paths:
M cmk/gui/watolib/rulesets.py
M cmk/utils/rulesets/ruleset_matcher.py
M cmk_base/config.py
M tests/testlib/base.py
M tests/unit/cmk/utils/rulesets/test_ruleset_matcher.py
M tests/unit/cmk_base/test_config.py
Log Message:
-----------
Implement basic matching on labels in rulesets
* The effective labels of hosts are now usable as rule conditions
* Label matching is not yet optimized like tag matching
* Next step is to make them configurable in the GUI
CMK-1942
Change-Id: I18fd6ad0f1fa5a5a450f7225319ca8a7cbec391e
Commit: ba319444a76f4d27bc7b2e0680c756fb46d432ae
https://github.com/tribe29/checkmk/commit/ba319444a76f4d27bc7b2e0680c756fb4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/watolib/rulesets.py
M web/htdocs/themes/classic/scss/_wato.scss
M web/htdocs/themes/facelift/scss/_wato.scss
Log Message:
-----------
Basic host label match conditions in rules
* Currently only AND conditions and no negations are possible.
The limitation is the input mechanism. Should be extended in
the next step.
CMK-1942
Change-Id: Iebb661ecb9c4d0c34e98b5f9b78296c7006e0fb1
Commit: 55444a1681b9905b843f8e29b6b6b282d2663c1f
https://github.com/tribe29/checkmk/commit/55444a1681b9905b843f8e29b6b6b282d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
Log Message:
-----------
Do not show label conditions for rulesets that set labels
Trying to set and refer on labels in the same ruleset produces some
chicken/egg problem which we need to avoid. Our simple solution for
this is to prevent use of the label condition for these rulesets:
<ul>
<li>Host labels</li>
<li>Service labels</li>
<li>Do hardware/software Inventory</li>
</ul>
CMK-1942
Change-Id: I1286c7d20729c3e1e26cd6282384b7f6348d313d
Commit: 02b31a0c2658f61c224358d628e4fcaa21ca9892
https://github.com/tribe29/checkmk/commit/02b31a0c2658f61c224358d628e4fcaa2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-25 (Tue, 25 Jun 2019)
Changed paths:
M cmk/gui/wato/pages/rulesets.py
M web/htdocs/themes/classic/scss/_wato.scss
M web/htdocs/themes/facelift/scss/_wato.scss
Log Message:
-----------
Improved label conditions
* Single label conditions can now be negated
* Improved displaying of label conditions in rule list
CMK-1942
Change-Id: If8c577fa710429457cb981526f56de8d4a71ce49
Compare:
https://github.com/tribe29/checkmk/compare/61037a34ba98...02b31a0c2658