Module: check_mk
Branch: master
Commit: be5df1dcdfe8472993f3e0f46030109f3fc0752c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=be5df1dcdfe847…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 27 21:00:38 2019 +0100
Introduce SNMP backend classes
The scope of these classes is to implement the SNMP methods
get and walk using the different available SNMP engines. For
the moment we have 3 of them:
- ClassicSNMPBackend: Using the net-snmp commands
- InlineSNMPBackend (CEE/CME): Using the net-snmp python bindings
- StoredWalkSNMPBackend: Answer queries using stored CMK walks
CMK-1736
Change-Id: Iff2860527f9b05c8643b10d147f98d0b05b157ac
---
cmk_base/classic_snmp.py | 91 ++++++++++++++--------------
cmk_base/snmp.py | 74 ++++++++++++----------
cmk_base/snmp_utils.py | 17 +++++-
tests/integration/cmk_base/snmp/test_snmp.py | 1 +
4 files changed, 104 insertions(+), 79 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=be5df1dcdf…