Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: c43934f235700909cbf2f5ec388e49a25f67e8b8
https://github.com/Checkmk/checkmk/commit/c43934f235700909cbf2f5ec388e49a25…
Author: Benedikt Seidl <benedikt.seidl(a)checkmk.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
A .werks/15334.md
M cmk/base/legacy_checks/mongodb_collections.py
M cmk/plugins/lib/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