Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: e37c467e98dd05ffea1c512814149eb736801eda
https://github.com/tribe29/checkmk/commit/e37c467e98dd05ffea1c512814149eb73…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
A .werks/12299
M cmk/base/checkers/_abstract.py
M cmk/base/checkers/agent.py
M cmk/base/checkers/ipmi.py
M cmk/base/checkers/piggyback.py
M cmk/base/checkers/programs.py
M cmk/base/checkers/snmp.py
M cmk/base/checkers/tcp.py
M cmk/fetchers/_base.py
M cmk/fetchers/agent.py
M cmk/fetchers/snmp.py
M cmk/fetchers/tcp.py
M tests/unit/cmk/base/checkers/test_agent.py
M tests/unit/cmk/base/checkers/test_tcp_data_source.py
M tests/unit/cmk/fetchers/test_fetchers.py
Log Message:
-----------
12299 Improve SNMP caching
We now cache the data fetched from SNMP discovery and
checking in different databases. This should improve
performance on some installations.
The fetcher now caches discovery and checking results in different
files. The result is more consistent with the agent caching.
Rename `FileCache.path` -> `FileCache.base_path` (as well as callers
and configuration) and add a `FileCache.path(Mode)` method.
CMK-7752
Change-Id: Ie4a556f9708da555de20e713dfb55ce95a382419