Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ff8d3570e96335f7d3850700daa21a3aa6e9578e
https://github.com/tribe29/checkmk/commit/ff8d3570e96335f7d3850700daa21a3aa…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M cmk/core_helpers/agent.py
Log Message:
-----------
Gracefully handle missing persist values
If we have more sections in the section store than in the agent
output, the `fetch_interval` lookup in
`HostSections.add_persisted_sections()` may fail. This patch
returns the default `persist` value for missing sections.
CMK-6949
Change-Id: I12f9c1b8e54eaff0ef505facd86b200db725d23d