Werk #15334 · May 15, 24
FIX mongodb_replica_set: compatibility with pymongo 3
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.4.0b1All Editions
- 2.3.0p3CommunityProUltimateUltimate + MT
- 2.2.0p27CommunityProUltimateUltimate + MT