Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #14549: mongodb_collections, mongodb_replica_set: Fix date parsing error

Component Checks & agents
Title mongodb_collections, mongodb_replica_set: Fix date parsing error
Date Aug 3, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p10 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p28 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Depending on the pymongo version on the host system, the two check plugins mentioned above crashed with

TypeError: unsupported operand type(s) for /: 'str' and 'float'
TypeError: unsupported operand type(s) for -: 'str' and 'str'

To the list of all Werks