[checkmk-commits] Move more SNMP related settings to SNMPHostConfig

Lars Michelsen lm at mathias-kettner.de
Wed Apr 24 10:00:26 CEST 2019


Module: check_mk
Branch: master
Commit: c234d37bc10c8afa3bcd83aafa63d3f0e564db9a
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c234d37bc10c8afa3bcd83aafa63d3f0e564db9a

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Sat Apr 20 08:36:12 2019 +0200

Move more SNMP related settings to SNMPHostConfig

The SNMP credentials, SNMPv3 contexts and SNMP character encoding
properties have been moved to SNMPHostConfig. The related global
helper functions in cmk_base.config have been cleaned up.

Change-Id: I85c05ffc049103d966c5aa067fd29a5b17ddb839

---

 cmk_base/automations/check_mk.py              |  14 ++--
 cmk_base/config.py                            | 112 ++++++++++++--------------
 cmk_base/snmp.py                              |  30 +++----
 cmk_base/snmp_utils.py                        |   2 +
 tests/integration/cmk_base/snmp/test_snmp.py  |   8 ++
 tests/unit/cmk_base/snmp/test_classic_snmp.py |  14 ++++
 tests/unit/cmk_base/snmp/test_snmp_unit.py    |  10 ++-
 7 files changed, 108 insertions(+), 82 deletions(-)

Diff:   http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=c234d37bc10c8afa3bcd83aafa63d3f0e564db9a


More information about the checkmk-commits mailing list