Werk #13494 · Nov 15, 21
mongodb_counters: Fix "ValueError: too many values to unpack (expected 3)"
In certain cases, the check plugin mongodb_counters crashed with "ValueError: too many values to unpack (expected 3)".
The reason for this crash is that depending on the version, db.serverStatus().opcounters can contain a counter named "deprecated", which does not follow the syntax of the other counters. This counter is now skipped.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.1.0b1CommunityProUltimate + MT
- 2.0.0p16CommunityProUltimate + MT
- 1.6.0p28CommunityProUltimate + MT