Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 3393a2b37469c77a598f0343d4b475fcc27422f8
https://github.com/tribe29/checkmk/commit/3393a2b37469c77a598f0343d4b475fcc…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
A .werks/12320
M cmk/base/config.py
M tests/unit/cmk/lib/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
NOTE: This kind of cherry pick from master.
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