Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: b7b835783f862b62d0eaaf4082c976d41f9ad496
https://github.com/tribe29/checkmk/commit/b7b835783f862b62d0eaaf4082c976d41…
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: 61ee37b3cbd4a74126e10418fa7848d54b57d247
https://github.com/tribe29/checkmk/commit/61ee37b3cbd4a74126e10418fa7848d54…
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/fd6273267e78...61ee37b3cbd4