Module: check_mk
Branch: master
Commit: ed832a750569fa141d87479c42e6fbcc57773201
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed832a750569fa…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Tue Feb 12 14:46:24 2019 +0100
7141 FIX mk_docker: Inventorize RepoTags and RepoDigests unprocessed
Previously, the last RepoTag was picked, and inventorized as 'Repository' and 'Tag' separately. This was somewhat arbitrary, so we now inventorize all RepoTags and RepoDigests without any further interpretation.
Change-Id: Ia0b7ec6e674b8fa12709d359971aca9e1c592359
---
.werks/7141 | 10 +
checks/legacy_docker.include | 50 +-
inventory/docker_node_images | 16 +-
tests/unit/checks/test_docker_parse_node_images.py | 874 ++-------------------
4 files changed, 108 insertions(+), 842 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ed832a7505…
Module: check_mk
Branch: master
Commit: 9317ba0b79b9ab919683596f303cbcd95843a227
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9317ba0b79b9ab…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 12 16:20:16 2019 +0100
Fix possible hanging tests caused by stale locks
The previously used module was using plain file based locks
(to be portable). To have a reliable inter process locking, OS
support is needed, which we now get by replacing the lockfile
module witht fasteners.
Change-Id: I5dad7a59cc2da5de384f55a1afb4c9aae3fe547d
---
Pipfile | 2 +-
Pipfile.lock | 113 +++++++++++++++++----------------
tests/integration/bin/test_mkbackup.py | 4 +-
tests/testlib/__init__.py | 8 +--
4 files changed, 67 insertions(+), 60 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=9317ba0b79…
Module: check_mk
Branch: master
Commit: 43c4262e95ef3f90bde43f0ca35c772c496620c9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=43c4262e95ef3f…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Feb 12 14:58:09 2019 +0100
agent_aws: Do not store cache data if '--no-cache' option is used
Change-Id: I5ed4deaa37c53f632e442ec3cda78ed46ae229f0
---
agents/special/agent_aws | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/agents/special/agent_aws b/agents/special/agent_aws
index 7da76ee..9c9053b 100755
--- a/agents/special/agent_aws
+++ b/agents/special/agent_aws
@@ -217,7 +217,8 @@ class AWSSection(object):
else:
raw_content = self._fetch_raw_content(colleague_contents)
# TODO: Write cache only when _compute_section_content succeeded?
- self._write_to_cache(raw_content)
+ if use_cache:
+ self._write_to_cache(raw_content)
cache_timestamp = time.time()
return AWSRawContent(raw_content, cache_timestamp)
@@ -1355,7 +1356,10 @@ def parse_arguments(argv):
action="store_true",
help="Log messages from AWS library 'boto3' and 'botocore'.")
parser.add_argument(
- "--no-cache", action="store_true", help="Execute all sections, do not rely on cached data.")
+ "--no-cache",
+ action="store_true",
+ help="Execute all sections, do not rely on cached data. Cached data will not be overwritten."
+ )
parser.add_argument(
"--access-key-id", required=True, help="The access key for your AWS account.")