Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 617b22b04869bcde73ca32a4e98436f333ae9df1
https://github.com/tribe29/checkmk/commit/617b22b04869bcde73ca32a4e98436f33…
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: fa9b27a55c99862481266f28eeef06113c840893
https://github.com/tribe29/checkmk/commit/fa9b27a55c99862481266f28eeef06113…
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: ce31ef41b25e2c17aaf08862a084079b35465157
https://github.com/tribe29/checkmk/commit/ce31ef41b25e2c17aaf08862a084079b3…
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: f56f476faffa98030f009b9708f5e7e5167e5fb3
https://github.com/tribe29/checkmk/commit/f56f476faffa98030f009b9708f5e7e51…
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: 179f80d4c1671a4ce58d535ef0984cb5d6070f86
https://github.com/tribe29/checkmk/commit/179f80d4c1671a4ce58d535ef0984cb5d…
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/31456522394f...179f80d4c167