Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9359e006f0677806fad97fdf883cb80d1661e3af
https://github.com/tribe29/checkmk/commit/9359e006f0677806fad97fdf883cb80d1…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M .isort.cfg
M cmk/.f12
M cmk/base/api/agent_based/register/export.py
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/register/section_plugins_legacy.py
M cmk/base/api/agent_based/section_types.py
M cmk/base/api/agent_based/utils.py
M cmk/base/automations/check_mk.py
M cmk/base/check_api.py
M cmk/base/check_utils.py
M cmk/base/config.py
M cmk/base/data_sources/snmp.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M cmk/base/plugins/agent_based/agent_based_api/v0/__init__.py
M cmk/base/snmp_scan.py
M cmk/base/snmp_utils.py
M cmk/fetchers/factory.py
M cmk/fetchers/snmp.py
M cmk/fetchers/snmp_backend/_utils.py
M cmk/fetchers/snmp_backend/classic.py
M cmk/fetchers/snmp_backend/stored_walk.py
R cmk/lib/__init__.py
R cmk/lib/snmplib/__init__.py
R cmk/lib/snmplib/snmp_cache.py
R cmk/lib/snmplib/snmp_modes.py
R cmk/lib/snmplib/snmp_table.py
R cmk/lib/snmplib/type_defs.py
A cmk/snmplib/__init__.py
A cmk/snmplib/snmp_cache.py
A cmk/snmplib/snmp_modes.py
A cmk/snmplib/snmp_table.py
A cmk/snmplib/type_defs.py
M tests-py3/integration/cmk/lib/snmplib/conftest.py
M tests-py3/integration/cmk/lib/snmplib/test_snmp_modes.py
M tests-py3/integration/cmk/lib/snmplib/test_snmp_table.py
M tests-py3/testlib/pylint_checker_cmk_module_layers.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_section_plugins.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_section_plugins_legacy_snmp_tree.py
M tests-py3/unit/cmk/base/api/agent_based/test_section_types.py
M tests-py3/unit/cmk/base/data_sources/test_snmp_data_source.py
M tests-py3/unit/cmk/base/test_check_api.py
M tests-py3/unit/cmk/base/test_snmp_scan.py
M tests-py3/unit/cmk/base/test_snmp_utils.py
M tests-py3/unit/cmk/fetchers/test_classic_snmp.py
M tests-py3/unit/cmk/lib/test_snmplib_snmp_table.py
M tests-py3/unit/cmk/utils/test_type_defs.py
Log Message:
-----------
Remove `lib` namespace
- Move cmk.lib.snmplib -> cmk.snmplib
- Fix imports with sed
- Fix tooling
This patch comes from a discussion on Slack.
CMK-4610
Change-Id: I7c5ed9c114bc06bed1ddedc8cb593fcd4a6deab3
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c705449fcb652f6486e432b5cb4ae72eabb22a89
https://github.com/tribe29/checkmk/commit/c705449fcb652f6486e432b5cb4ae72ea…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M .isort.cfg
M cmk/base/api/agent_based/register/export.py
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/register/section_plugins_legacy.py
M cmk/base/api/agent_based/section_types.py
M cmk/base/api/agent_based/utils.py
M cmk/base/automations/check_mk.py
M cmk/base/check_api.py
M cmk/base/check_utils.py
M cmk/base/config.py
M cmk/base/data_sources/snmp.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M cmk/base/plugins/agent_based/agent_based_api/v0/__init__.py
R cmk/base/snmp.py
M cmk/base/snmp_scan.py
M cmk/base/snmp_utils.py
M cmk/fetchers/factory.py
M cmk/fetchers/snmp.py
M cmk/fetchers/snmp_backend/_utils.py
M cmk/fetchers/snmp_backend/classic.py
M cmk/fetchers/snmp_backend/stored_walk.py
A cmk/lib/__init__.py
A cmk/lib/snmplib/__init__.py
A cmk/lib/snmplib/snmp_cache.py
A cmk/lib/snmplib/snmp_modes.py
A cmk/lib/snmplib/snmp_table.py
A cmk/lib/snmplib/type_defs.py
R cmk/utils/snmp_cache.py
R cmk/utils/snmp_table.py
M cmk/utils/type_defs.py
R tests-py3/integration/cmk/base/snmp/snmp_data/1.3.6.1.6.1.1.0.snmprec
R tests-py3/integration/cmk/base/snmp/snmp_data/1.3.6.1.6.1.1.0/127.0.0.1.snmprec
R tests-py3/integration/cmk/base/snmp/snmp_data/cmk-walk/localhost
R tests-py3/integration/cmk/base/snmp/snmp_data/public.snmprec
R tests-py3/integration/cmk/base/snmp/test_snmp.py
A tests-py3/integration/cmk/lib/snmplib/conftest.py
A tests-py3/integration/cmk/lib/snmplib/snmp_data/1.3.6.1.6.1.1.0.snmprec
A tests-py3/integration/cmk/lib/snmplib/snmp_data/1.3.6.1.6.1.1.0/127.0.0.1.snmprec
A tests-py3/integration/cmk/lib/snmplib/snmp_data/cmk-walk/localhost
A tests-py3/integration/cmk/lib/snmplib/snmp_data/public.snmprec
A tests-py3/integration/cmk/lib/snmplib/test_snmp_modes.py
A tests-py3/integration/cmk/lib/snmplib/test_snmp_table.py
R tests-py3/integration/cmk/utils/test_snmp_table.py
M tests-py3/testlib/pylint_checker_cmk_module_layers.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_section_plugins.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_section_plugins_legacy_snmp_tree.py
M tests-py3/unit/cmk/base/api/agent_based/test_section_types.py
M tests-py3/unit/cmk/base/data_sources/test_snmp_data_source.py
M tests-py3/unit/cmk/base/test_check_api.py
M tests-py3/unit/cmk/base/test_snmp_scan.py
M tests-py3/unit/cmk/base/test_snmp_utils.py
M tests-py3/unit/cmk/fetchers/test_classic_snmp.py
A tests-py3/unit/cmk/lib/test_snmplib_snmp_table.py
R tests-py3/unit/cmk/utils/test_snmp_table_unit.py
M tests-py3/unit/cmk/utils/test_type_defs.py
Log Message:
-----------
Move SNMP functions together
This has several advantages:
* We move more code out of `cmk.utils` than we put in.
* We group related stuff.
* The new `snmplib` package is highly cohesive.
* There is a clear separation in `type_defs` between SNMP
types and the non-SNMP types.
The higher cohesion allows us to avoid copy and pasting fixtures in
SNMP tests.
This also clarifies user code in that SNMP-related stuff now has to
come from `snmplib`.
The `lib` namespace is consistent with our other top-level
namespaces `base`, `utils`, etc. It is otherwise useless.
CMK-4610
Change-Id: Ifa55d5dbd89fc337b255d8d9555526e1bfdaf0e7
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f210ff2e7cb89f66bec1c20c0fca084d10841501
https://github.com/tribe29/checkmk/commit/f210ff2e7cb89f66bec1c20c0fca084d1…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M cmk/base/diagnostics.py
Log Message:
-----------
Suppress yet another Bandit complaint.
We should really do a thorough review of all those suppressions, they give
me a bad feeling...
Change-Id: I6c6a319fd8a908a6dad0b07b5d337c272189dc02
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 5960a3d2a7e2970e77cd51d5f8db5c806cde149c
https://github.com/tribe29/checkmk/commit/5960a3d2a7e2970e77cd51d5f8db5c806…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M livestatus/src/Makefile.am
Log Message:
-----------
Disable the use of concepts within asio for now.
asio hasn't tracked the latest changes in the C++ standard, see e.g.
https://github.com/boostorg/asio/issues/312.
We can revert this when asio has been fixed and updated in our repo.
Change-Id: Ie6df077e851992db7d1fe5448893556d48cce594
Commit: a8bd872dfa1ba6d454b7ed4a022433c154c3f293
https://github.com/tribe29/checkmk/commit/a8bd872dfa1ba6d454b7ed4a022433c15…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M livestatus/src/DynamicHostFileColumn.cc
Log Message:
-----------
Implicit capture of this via [=] is deprecated now.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0806r2.html
Change-Id: I0e8c33b22a8a9d8c7047f6f2b93312b674d1fdd4
Commit: a63c8ef0ed15cd1e23196b660b4989d734922163
https://github.com/tribe29/checkmk/commit/a63c8ef0ed15cd1e23196b660b4989d73…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M livestatus/src/Renderer.cc
Log Message:
-----------
ostream inserters for various char types are deleted nowadays.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1423r3.html
Change-Id: Ie9d40862f7daae06ba771ef6811b0c3f0b517ec2
Commit: c6d3818c5cf66c9134f2ab816bfa44aaec2c5bb0
https://github.com/tribe29/checkmk/commit/c6d3818c5cf66c9134f2ab816bfa44aae…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M Makefile
M agents/wnx/ct.cmd
M configure.ac
M livestatus/src/.clang_complete
M livestatus/src/test/.clang_complete
M m4/ax_cxx_compile_stdcxx.m4
M standalone.make
Log Message:
-----------
Bumped C++ standard c++17 => c++20.
Note that the autoconf archive doesn't have a macro for detecting C++20
(yet), so we have to extend the one we have a bit. It doesn't really tests
C++20 features yet, but at least we can detect the commandline flag. We can
improve this later...
Change-Id: I588564773700f6a3e250d4187c439cfa148a4dc8
Compare: https://github.com/tribe29/checkmk/compare/9df87dcd408a...c6d3818c5cf6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9df87dcd408a8adaf037281eec305857fcfc8627
https://github.com/tribe29/checkmk/commit/9df87dcd408a8adaf037281eec305857f…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
A .werks/11215
A checkman/ucs_c_rack_server_faultinst
A checkman/ucs_c_rack_server_led
M checks/ucs_bladecenter.include
M checks/ucs_bladecenter_faultinst
A checks/ucs_c_rack_server_faultinst
A checks/ucs_c_rack_server_led
A cmk/base/plugins/agent_based/ucs_c_rack_server_faultinst.py
A cmk/base/plugins/agent_based/ucs_c_rack_server_led.py
A cmk/gui/plugins/wato/check_parameters/ucs_c_rack_server_led.py
M cmk/special_agents/agent_ucs_bladecenter.py
M locale/de/LC_MESSAGES/multisite.po
A tests-py3/unit/checks/generictests/datasets/ucs_c_rack_server_faultinst_1.py
A tests-py3/unit/checks/generictests/datasets/ucs_c_rack_server_faultinst_2.py
A tests-py3/unit/checks/generictests/datasets/ucs_c_rack_server_led.py
M tests-py3/unit/cmk/gui/watolib/test_rulespecs.py
Log Message:
-----------
11215 Extension of the monitoring of UCS C-Series Rack Servers
This werk extends the special agent for monitoring UCS C-Series Rack Servers
to output information about LEDs and fault objects. It also adds two new checks
which monitor this data. The check ucs_c_rack_server_led monitors the colors of
all found LEDs and also provides their names and operational states. The check
ucs_c_rack_server_faultinst monitors fault objects such as degraded batteries.
It provides both a summary of all faults as well as detailed information about
each fault.
Change-Id: I81cb66f0f98968c06d056714285d6c0734ce3ee6