Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 7ae08a9b57596f341d2c5a6d260144d1c236ab3e
https://github.com/tribe29/checkmk/commit/7ae08a9b57596f341d2c5a6d260144d1c…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
A .werks/12320
M cmk/base/config.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table.py
Log Message:
-----------
SUP-5782: fix memory leak forcing CLASSIC SNMP backend for any host using SNMP-v1
- return CLASSIC backend for SNMP-v1 host
- test functionality
- refactor a bit HostConfig to make the fix testable
- werk
Motivation
1. Memory leak is quite serious problem even being controlled with MemoryObserver(still
todo). De-facto it is show stopper at least for some of our clients.
2. We can't fix netsnmp memory leak quick enough due to complexity of the task. There
is small probability that we could not fix netsnmp at all.
The fix provides reasonable still temporary by nature workaround to win time for
development appropriate solution.
Change-Id: I2c3341d7826375859d9ebac58d0a627ab938752b