Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8dcc15759be3b5003d59daf56c0b2bdee1182cb4
https://github.com/tribe29/checkmk/commit/8dcc15759be3b5003d59daf56c0b2bdee…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M cmk/base/api/agent_based/register/inventory_plugins_legacy.py
M cmk/base/config.py
M cmk/base/inventory.py
M cmk/base/inventory_plugins.py
M tests/unit/conftest.py
Log Message:
-----------
Inventory: stop using global tree
The global tree is only needed as a way to "intercept" the results of legacy
inventory plugins.
When legacy plugins are called, the global inventory tree will be replaced by a new tree
for
each plugin.
Change-Id: Iebb32fb6bc1d5b70baba06e0c4ce20257367dbe1
Commit: 828699ba50e6530163b80d04b93a7af1e6864102
https://github.com/tribe29/checkmk/commit/828699ba50e6530163b80d04b93a7af1e…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M cmk/base/checkers/_checkers.py
M cmk/base/inventory.py
Log Message:
-----------
inventory: refactor to make cluster case more explicit
* reorganize cluster vs. real hos cases
* fix "_all_sources_fail":
In fact, we must not write the inventory tree to disk
if any sources failed. Incompete data may lead to a
flapping inventory tree and susequently to a huge
inventory history.
Change-Id: I5f498b1bc16adccf741d546e86daf8d85905a7bb
Compare:
https://github.com/tribe29/checkmk/compare/f9632d844b41...828699ba50e6