Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 29c8b900d2e14b9375017418600b9a0681c5ecce
https://github.com/tribe29/checkmk/commit/29c8b900d2e14b9375017418600b9a068…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
A .werks/7984
M cmk/utils/labels.py
Log Message:
-----------
7984 FIX Service labels assigned with ruleset matched on all services of a host
The service labels rules were assigned to all services of a host instead of just
the services matching the configured service conditions.
Change-Id: I5e6b7de6a04f40beda919f76e8ed07fbae79da99
Commit: 6a92f12164ccd7b512b224b280e2970fba419b0a
https://github.com/tribe29/checkmk/commit/6a92f12164ccd7b512b224b280e2970fb…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M buildscripts/scripts/test-gerrit.jenkins
Log Message:
-----------
Fix syntax error
Change-Id: I2e72bc1216e8a2860318561cb3331c5111756165
Compare: https://github.com/tribe29/checkmk/compare/1ef2c0b16e98...6a92f12164cc
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 68e0871f7f2c3484260b78d48b45f134fe3ff593
https://github.com/tribe29/checkmk/commit/68e0871f7f2c3484260b78d48b45f134f…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M package-lock.json
Log Message:
-----------
Synched package-lock.json with package.json.
Change-Id: I4eeec1ca6b9e147bf21d1b8089d0c5cfdea1fe77
Commit: fec5aecf2911e7a8b5392f107703d7ad40907b9d
https://github.com/tribe29/checkmk/commit/fec5aecf2911e7a8b5392f107703d7ad4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Cleanup: Fix scope of match functions
Change-Id: I9206ba852ab0c615f96c4b9aed419428a3ccfcf5
Commit: 180a01f480fd400d76ff6f06ac91b8de4569f19e
https://github.com/tribe29/checkmk/commit/180a01f480fd400d76ff6f06ac91b8de4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Generalize label match function
To prepare for service rule matching, the host label match function
has been moved to module level and renamed.
Change-Id: Ieab057b08d0c1fdc9dd152b5dccfe493b174d8e6
Commit: 1dea8e918573bbef7e253defb9b14c6a15a426e9
https://github.com/tribe29/checkmk/commit/1dea8e918573bbef7e253defb9b14c6a1…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/labels.py
M cmk_base/automations/check_mk.py
M cmk_base/config.py
M cmk_base/core_config.py
M tests/unit/cmk_base/test_config.py
Log Message:
-----------
Cleanup labels_of_service and label_sources_of_service API
Both functions required the service labels as input parameters
since a short time. This was only done this way to be able to
re-use the service labels read from the autochecks of the host
and a bad API for most use cases.
The source label loading logic should be transparent to the call
sites, just like the caching of the persistance logic.
This commit restores the previous API where the call sites only
need the host name and service description. All other needed
information will be gathered by the LabelManager on it's own.
Currently the LabelManager._discovered_labels_of_service() method
is hacked to just make it work. The next commit will move the
autochecks loading logic to cmk.utils, to make it available to the
all components of Checkmk and wrap the code into a manager class
that cares about caching the already read data during runtime.
Change-Id: I75bf9d4296816fca86fea8c359d33ec48bcff574
Commit: 2fb8a7919c0919e0d4ecd79ecee78bb455294940
https://github.com/tribe29/checkmk/commit/2fb8a7919c0919e0d4ecd79ecee78bb45…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M bin/update_rrd_fs_names.py
M cmk/gui/watolib/rulesets.py
M cmk/utils/labels.py
M cmk_base/autochecks.py
M cmk_base/automations/check_mk.py
M cmk_base/config.py
M tests/testlib/base.py
M tests/unit/cmk_base/test_autochecks.py
Log Message:
-----------
Introduce AutochecksManager
* The AutochecksManger is responsible for reading the configured
autochecks from the disk and caching the autochecks during runtime.
* Changed all call sites of autochecks.read_autochecks_of() to use the
new AutochecksManager.get_autochecks_of().
* Discovered services now need to be accessed through
AutochecksManager.discovered_labels_of()
Change-Id: I2aae957dfeaf37bedf2a769928cf19ce38045f6b
Commit: 529c23c4d30e30f51a5f3f21d1aaf985daabb320
https://github.com/tribe29/checkmk/commit/529c23c4d30e30f51a5f3f21d1aaf985d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk_base/autochecks.py
Log Message:
-----------
Move read_autochecks_of() and helpers to AutochecksManager
These methods are now all internal helpers of the AutochecksManager.
Use get_autochecks_of() to fetch the autochecks.
Change-Id: I5da49074c44893bd5718db1e5730ad33e16807df
Commit: 73cc46599cb921968e5b6af9de5e5c87067f6d77
https://github.com/tribe29/checkmk/commit/73cc46599cb921968e5b6af9de5e5c870…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Generalize label condition cache ID calculation
To prepare for service label matching, the function to calculate the
label condition cache ID has been moved to module level.
CMK-2402
Change-Id: Ide21a0d72a2b8034c9157002b4d8116fbf7081fe
Commit: 2b44bc6ab9a0a6984d146614a1f74d64f6653e52
https://github.com/tribe29/checkmk/commit/2b44bc6ab9a0a6984d146614a1f74d64f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Cleanup service conditions
Prepare for service label rule conditions.
* Rename service condition to description condition
* Move cache ID calculation to match object
CMK-2402
Change-Id: Ief9feaf21f18fd50617b19a2d3cd37df7f0b652a
Commit: 7a282d7d198bdb92b345e8dcd9641ef6d67fd498
https://github.com/tribe29/checkmk/commit/7a282d7d198bdb92b345e8dcd9641ef6d…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/watolib/changes.py
M cmk/utils/store.py
Log Message:
-----------
cmk/gui/watolib/changes.py: convert to pathlib.Path
Change-Id: If905a7c4fd835c2753f5de3bf79e6a5724e5dd61
Commit: 1ef2c0b16e982fd0810cded85e957f4755eeb28a
https://github.com/tribe29/checkmk/commit/1ef2c0b16e982fd0810cded85e957f475…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/gui/watolib/changes.py
Log Message:
-----------
cmk/gui/watolib/changes.py: expilicitly use utf-8 encoding
When formating multiple arguments of which one is unicode, the others
get decoded using the ascii codec implicitly.
Change-Id: I29117b3e0b68329cb78b8201297d50206ba99e5e
Compare: https://github.com/tribe29/checkmk/compare/6c7a64e3da25...1ef2c0b16e98
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 0c31a97f56e96310ad3bd7e5075666e8ab2b25d2
https://github.com/tribe29/checkmk/commit/0c31a97f56e96310ad3bd7e5075666e8a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Cleanup: Fix scope of match functions
Change-Id: I9206ba852ab0c615f96c4b9aed419428a3ccfcf5
Commit: 8a7786524776f311c60dd0fd8f77b821b6ce57cf
https://github.com/tribe29/checkmk/commit/8a7786524776f311c60dd0fd8f77b821b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Generalize label match function
To prepare for service rule matching, the host label match function
has been moved to module level and renamed.
Change-Id: Ieab057b08d0c1fdc9dd152b5dccfe493b174d8e6
Commit: 6a6541301a6aa2b0bc67cdf9decc6e5bb1cb20e1
https://github.com/tribe29/checkmk/commit/6a6541301a6aa2b0bc67cdf9decc6e5bb…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/labels.py
M cmk_base/automations/check_mk.py
M cmk_base/config.py
M cmk_base/core_config.py
M tests/unit/cmk_base/test_config.py
Log Message:
-----------
Cleanup labels_of_service and label_sources_of_service API
Both functions required the service labels as input parameters
since a short time. This was only done this way to be able to
re-use the service labels read from the autochecks of the host
and a bad API for most use cases.
The source label loading logic should be transparent to the call
sites, just like the caching of the persistance logic.
This commit restores the previous API where the call sites only
need the host name and service description. All other needed
information will be gathered by the LabelManager on it's own.
Currently the LabelManager._discovered_labels_of_service() method
is hacked to just make it work. The next commit will move the
autochecks loading logic to cmk.utils, to make it available to the
all components of Checkmk and wrap the code into a manager class
that cares about caching the already read data during runtime.
Change-Id: I75bf9d4296816fca86fea8c359d33ec48bcff574
Commit: 2eac552f4b64580e06994b5e328953feb6fc10f4
https://github.com/tribe29/checkmk/commit/2eac552f4b64580e06994b5e328953feb…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M bin/update_rrd_fs_names.py
M cmk/gui/watolib/rulesets.py
M cmk/utils/labels.py
M cmk_base/autochecks.py
M cmk_base/automations/check_mk.py
M cmk_base/config.py
M tests/testlib/base.py
M tests/unit/cmk_base/test_autochecks.py
Log Message:
-----------
Introduce AutochecksManager
* The AutochecksManger is responsible for reading the configured
autochecks from the disk and caching the autochecks during runtime.
* Changed all call sites of autochecks.read_autochecks_of() to use the
new AutochecksManager.get_autochecks_of().
* Discovered services now need to be accessed through
AutochecksManager.discovered_labels_of()
Change-Id: I2aae957dfeaf37bedf2a769928cf19ce38045f6b
Commit: ef482f7140f413e13558f37ac6929ec27e0bfed6
https://github.com/tribe29/checkmk/commit/ef482f7140f413e13558f37ac6929ec27…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk_base/autochecks.py
Log Message:
-----------
Move read_autochecks_of() and helpers to AutochecksManager
These methods are now all internal helpers of the AutochecksManager.
Use get_autochecks_of() to fetch the autochecks.
Change-Id: I5da49074c44893bd5718db1e5730ad33e16807df
Commit: c473b0ac19dcb30abcacb3df283afeb86042250e
https://github.com/tribe29/checkmk/commit/c473b0ac19dcb30abcacb3df283afeb86…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Generalize label condition cache ID calculation
To prepare for service label matching, the function to calculate the
label condition cache ID has been moved to module level.
CMK-2402
Change-Id: Ide21a0d72a2b8034c9157002b4d8116fbf7081fe
Commit: b8820827862c9a611006c2a3b7dd4a54af1bc82e
https://github.com/tribe29/checkmk/commit/b8820827862c9a611006c2a3b7dd4a54a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/utils/rulesets/ruleset_matcher.py
Log Message:
-----------
Cleanup service conditions
Prepare for service label rule conditions.
* Rename service condition to description condition
* Move cache ID calculation to match object
CMK-2402
Change-Id: Ief9feaf21f18fd50617b19a2d3cd37df7f0b652a
Compare: https://github.com/tribe29/checkmk/compare/095dba6fa6ce...b8820827862c
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 33d0bff84866ff2bbcd935690f6a71573ebdfcc1
https://github.com/tribe29/checkmk/commit/33d0bff84866ff2bbcd935690f6a71573…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/watolib/changes.py
M cmk/utils/store.py
Log Message:
-----------
cmk/gui/watolib/changes.py: convert to pathlib.Path
Change-Id: If905a7c4fd835c2753f5de3bf79e6a5724e5dd61
Commit: b964d94eb1f8cbc6dd788a1be5554435c34141da
https://github.com/tribe29/checkmk/commit/b964d94eb1f8cbc6dd788a1be5554435c…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M cmk/gui/watolib/changes.py
Log Message:
-----------
cmk/gui/watolib/changes.py: expilicitly use utf-8 encoding
When formating multiple arguments of which one is unicode, the others
get decoded using the ascii codec implicitly.
Change-Id: I29117b3e0b68329cb78b8201297d50206ba99e5e
Compare: https://github.com/tribe29/checkmk/compare/95f6b4c04383...b964d94eb1f8