Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 4410c10f7e1aa374c2a4994a7622fdbbaee3870d
https://github.com/tribe29/checkmk/commit/4410c10f7e1aa374c2a4994a7622fdbba…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-06-24 (Thu, 24 Jun 2021)
Changed paths:
M cmk/base/modes/check_mk.py
M tests/unit/cmk/base/checkers/test_cmd_caching.py
Log Message:
-----------
Enable cache usage for discovery
With this patch:
cmk -II **no host name**
will use the cache if one is present (options: maybe + use_outdated)
cmk -II host_name
will use the cache if it is not older than `discovery_max_cachefile_age()`
from `cmk.base.config`.
CMK-8136
Change-Id: I79361b23906cc2bab751780fb19c375222569340