Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 7fdaa0899f34933585c0f7293b62b9ed57b1450c
https://github.com/Checkmk/checkmk/commit/7fdaa0899f34933585c0f7293b62b9ed5…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
A .werks/15334
M checks/mongodb_collections
M cmk/base/plugins/agent_based/utils/mongodb.py
M tests/unit/checks/test_mongodb_collections.py
M tests/unit/checks/test_mongodb_replica_set.py
Log Message:
-----------
15334 FIX mongodb_replica_set: compatibility with pymongo 3
[Werk #16174](https://checkmk.com/werk/16174) introduced a regression:
If the checkmk agent plugin is running with pymongo version 3 the
replication lag time stamp is interpreted as seconds, but its actually
milliseconds. This results in errors like `ValueError (year 56319 is out
of range)`.
The check is now compatible with pymongo version 3 and 4.
SUP-18566
SUP-18606
Change-Id: Ifb084af461988c81f64d7495e911adcb2aae08b9
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications