Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: cd16d61a5ef8250359d3d357bb3fc44569d417df
https://github.com/tribe29/checkmk/commit/cd16d61a5ef8250359d3d357bb3fc4456…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M cmk/core_helpers/_base.py
M cmk/core_helpers/agent.py
M cmk/core_helpers/cache.py
M tests/unit/cmk/core_helpers/test_fetchers.py
Log Message:
-----------
Allow FileCache usage for CHECKING
Regular, non-cluster cache reading is disabled by `max_age == 0` anyway,
we do not need to handle this otherwise. Now, cluster data may actually
come from cache provided it is not older than 90 s.
The condition in `cache_read(Mode)` is now identical for SNMP and Agent
fetchers and we may therefore simplify the code in another commit.
This commit adds further logging output in order to make it possible
to understand which path is taken, and why.
CMK-7752
Change-Id: I46717ac29474aafa6111bff505078901d04d7e65
Commit: 8f27d8f23a27f1bf5c8f46527f6e26e9802a652b
https://github.com/tribe29/checkmk/commit/8f27d8f23a27f1bf5c8f46527f6e26e98…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M cmk/core_helpers/agent.py
M cmk/core_helpers/cache.py
M cmk/core_helpers/snmp.py
M tests/unit/cmk/base/sources/test_cmd_caching.py
M tests/unit/cmk/core_helpers/test_fetchers.py
Log Message:
-----------
Remove unnecessary cache_read/cache_write functions
The previous changes to the caching mechanism make these functions
unnecessary. This patch removes them.
Change-Id: I99e5701c9711765e6fa127b8d25bd87847e0e471
Compare:
https://github.com/tribe29/checkmk/compare/418afc127728...8f27d8f23a27