Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3309a19524affbc1a85d5f1abf5573adf881d742
https://github.com/tribe29/checkmk/commit/3309a19524affbc1a85d5f1abf5573adf…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
M checks/mongodb_counters
A cmk/base/plugins/agent_based/mongodb_counters.py
A tests/unit/cmk/base/plugins/agent_based/test_mongodb_counters.py
Log Message:
-----------
Migrate section mongodb_counters
Change-Id: Ifb107dd21b30f1ca903cc549c438c8bc195bcf69
Commit: 3b10e36d2548f1b12053c8327c43cfa049e7b27c
https://github.com/tribe29/checkmk/commit/3b10e36d2548f1b12053c8327c43cfa04…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
A .werks/13494
M cmk/base/plugins/agent_based/mongodb_counters.py
M tests/unit/cmk/base/plugins/agent_based/test_mongodb_counters.py
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
Compare:
https://github.com/tribe29/checkmk/compare/a5bdf72399ed...3b10e36d2548