Module: check_mk
Branch: master
Commit: 35510f2140c7f3889444ad144b10a783c77dc439
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35510f2140c7f3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Apr 21 19:37:48 2019 +0200
Move last SNMP related settings to SNMPHostConfig
All top level cmk_base.config SNMP related functions have been moved to
be wrapped in a single object SNMPHostConfig(). This object is handed
over to all SNMP processing code to tell it how to work with a host.
Cleaned up SNMP integration tests on the way.
Change-Id: I2f8104b7678b2e06788abae8dc3a2aef1a9f6d78
---
cmk_base/automations/check_mk.py | 2 +
cmk_base/checking.py | 6 +-
cmk_base/config.py | 25 ++--
cmk_base/crash_reporting.py | 6 +-
cmk_base/data_sources/snmp.py | 4 +-
cmk_base/snmp.py | 7 +-
cmk_base/snmp_utils.py | 2 +
tests/integration/cmk_base/snmp/test_snmp.py | 196 ++++++++++----------------
tests/unit/cmk_base/snmp/test_classic_snmp.py | 14 ++
9 files changed, 112 insertions(+), 150 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=35510f2140…