Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 95960c903889163a2ea64b5988e7bb2b5be8dc0a
https://github.com/tribe29/checkmk/commit/95960c903889163a2ea64b5988e7bb2b5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk/utils/labels.py
M cmk_base/discovered_labels.py
M tests/unit/cmk/utils/test_labels.py
M tests/unit/cmk_base/test_discovered_labels.py
Log Message:
-----------
Prepare for discovered service labels
* Add new class ServiceLabel: This represents a service label
in the Checkmk code during execution. This class is meant to
be exposed to the check API. It will be usable in the discovery
function to create a new label like this:
ServiceLabel(u"my_label_key", u"my_value")
* The labels of all services per host are stored in a single file
in the path var/check_mk/discovered_service_labels. This file is
managed by the DiscoveredServiceLabelsStore class.
* During the service discovery in Checkmk base code, the class
DiscoveredServiceLabelsOfHost will be used to collect all discovered
labels and hand them over to DiscoveredServiceLabelsStore for
persistance.
CMK-1816
Change-Id: I918daf1890abe922799485db52a0523228ce3ebf
Commit: fd758f994f7fde613ca4b19f237ea086c59e5364
https://github.com/tribe29/checkmk/commit/fd758f994f7fde613ca4b19f237ea086c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk/gui/watolib/rulesets.py
M cmk/utils/labels.py
M cmk_base/config.py
M tests/unit/cmk/utils/test_labels.py
M tests/unit/cmk_base/test_config.py
Log Message:
-----------
Export discovered service labels to core
Moved the effective service label calculation to the LabelManager helper
class of the ConfigCache. All discovered labels are now written to the
core configuration which makes them usable in the GUI.
CMK-1816
Change-Id: Id6c93e1a7490518477df5b6cc8adc8d548a68d76
Commit: bf494e994e6cbff1559729a252b5926f23fb9f42
https://github.com/tribe29/checkmk/commit/bf494e994e6cbff1559729a252b5926f2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/config.py
M cmk_base/discovery.py
Log Message:
-----------
Minor cleanups
* Turn discovery helper functions into iterators
* Add some type annotations and fix some others
CMK-1816
Change-Id: I9d2a2cad17a67ab29044089aa00644cb615ca854
Commit: ec70f81e68cbdc79a53177666fc98c6b689e9dac
https://github.com/tribe29/checkmk/commit/ec70f81e68cbdc79a53177666fc98c6b6…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/check_table.py
M cmk_base/discovery.py
Log Message:
-----------
Wrap discovery results into DiscoveredService objects
Right after receiving the discovered service tuples from the
discovery functions the tuples are validated and converted into
DiscoveredService objects for easier handling in the discovery
function call stack.
Spread a lot of type hints on the way.
CMK-1816
Change-Id: I4fab7754397032a98086ddb75dc1582f3c420f49
Commit: 7e18e61d110d1fe6bcc1ec9370ad152cfc175d3b
https://github.com/tribe29/checkmk/commit/7e18e61d110d1fe6bcc1ec9370ad152cf…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/check_table.py
M cmk_base/discovery.py
Log Message:
-----------
Spread use of DiscoveredService object
Cleanup some unpacking of discovered service attributes into tuples and
use the DiscoveredService objects instead.
CMK-1816
Change-Id: Iafeebd78e48747ec7d361cb5e6a78dd7fe2dadaf
Commit: f736c2f9fd5639f4f3f4da4308a49123d2426e34
https://github.com/tribe29/checkmk/commit/f736c2f9fd5639f4f3f4da4308a49123d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/discovery.py
Log Message:
-----------
set_autochecks_of: Extract cluster / real host handling
CMK-1816
Change-Id: I603771717330db9bb3408006e9c4673f07308ec0
Commit: e3c2ca11a7991e08e0531d52a393c661f30e08d7
https://github.com/tribe29/checkmk/commit/e3c2ca11a7991e08e0531d52a393c661f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/automations/check_mk.py
Log Message:
-----------
Host rename: Replace ancient rewrite with simple file rename
Change-Id: Ie90b90f451b4c12853b8d02680b721bf16e8e64e
Commit: 36dcb2f65305fffec7ce1f994d30a26043bb2935
https://github.com/tribe29/checkmk/commit/36dcb2f65305fffec7ce1f994d30a2604…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/automations/check_mk.py
M tests/integration/cmk_base/test_automations.py
M tests/unit/cmk_base/test_unit_automations.py
Log Message:
-----------
Remove ancient get-autochecks automation call
Change-Id: I5670bb5dddf16c9475c11c7235d76530483a8829
Commit: 25a9824585c875dc42cbcc5c5187c66578f26259
https://github.com/tribe29/checkmk/commit/25a9824585c875dc42cbcc5c5187c6657…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/automations/check_mk.py
M cmk_base/check_table.py
M cmk_base/discovery.py
M tests/integration/cmk_base/test_automations.py
M tests/unit/cmk_base/test_autochecks.py
Log Message:
-----------
Spread use of DiscoveredService object
Make autocheck persistance functions also work with the list of
discovered service instead of different specific dict and list
based structures that were all similar, but not exactly the same.
CMK-1816
Change-Id: I311c39db9f8865b472b5da3acb709d9efec346d9
Commit: 88ac3f4f00c033519f7f57d5d07417267c4dc452
https://github.com/tribe29/checkmk/commit/88ac3f4f00c033519f7f57d5d07417267…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/discovery.py
Log Message:
-----------
Simplify discovered services output calculation
Change-Id: Ibad4a32d3860829048315e97bb54a05a7733ba20
Commit: 5a20d1389ff1a3fe6d6259682392a9b8e1a3aeb0
https://github.com/tribe29/checkmk/commit/5a20d1389ff1a3fe6d6259682392a9b8e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/discovery.py
A tests/unit/cmk_base/test_discovery.py
Log Message:
-----------
Make DiscoveredService comparable to others
This prepares the way to cleanup all the different comparison
data structures during discovered service processing, e.g. used
for preventing duplicate services.
CMK-1816
Change-Id: I9d2b589f6a674e54defc6acd6379d88dc9e79d59
Commit: 82e334c57337d12bd2d7a08c58e962e7883f6b3f
https://github.com/tribe29/checkmk/commit/82e334c57337d12bd2d7a08c58e962e78…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/discovery.py
Log Message:
-----------
Minor cleanup: Reduce nesting
Change-Id: I3f01ecfc8bd0183822173731a0722a1c07a4917e
Commit: 342c0bd4f28341d152758d9592ee2174fce0693d
https://github.com/tribe29/checkmk/commit/342c0bd4f28341d152758d9592ee2174f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M cmk_base/check_table.py
M cmk_base/discovery.py
M tests/unit/cmk_base/test_autochecks.py
Log Message:
-----------
Autochecks: Use ast parsing instead of hand crafted text parsing
This prepares for parsing more flexible data structures from the
autocheck file while still being able to keep the logic that the
check parameters are not resolved.
CMK-1816
Change-Id: I95cb2deff63f1668253e8fe5671bbf5b9a11142f
Commit: ab6a87faa057fdc80d8244b10288b6c4f2814bf2
https://github.com/tribe29/checkmk/commit/ab6a87faa057fdc80d8244b10288b6c4f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-07-15 (Mon, 15 Jul 2019)
Changed paths:
M tests/unit/cmk_base/test_autochecks.py
Log Message:
-----------
Fix unit test
Change-Id: I6941afe5ab5952cce774442033b1e8ec9d5e70f8
Compare:
https://github.com/tribe29/checkmk/compare/afefd2c05a7e...ab6a87faa057