Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: fda48edc753c64a8c8b75d05a90928f677ffc261
https://github.com/tribe29/checkmk/commit/fda48edc753c64a8c8b75d05a90928f67…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
A .werks/13494
M checks/mongodb_counters
Log Message:
-----------
13494 FIX <tt>mongodb_counters</tt>: Fix "ValueError: too many values
to unpack (expected 3)"
In certain cases, the check plugin <tt>mongodb_counters</tt> crashed with
"ValueError: too many values to unpack (expected 3)".
The reason for this crash is that depending on the version,
<tt>db.serverStatus().opcounters</tt> can contain a counter named
"deprecated", which does not follow the syntax of the other counters.
This counter is now skipped.
SUP-8433
Change-Id: I07ee4b605d3f2766c3bec29e31cf186cddef6455