Werk #16170: snmp: Store OID cache per context group

Component Checks & agents
Title snmp: Store OID cache per context group
Date Feb 7, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

SNMP caching didn't take contexts in consideration when storing OID data. This led to the same result being reported for the OID in different sections even if sections use different contexts.

Now, SNMP caching stores fetched OID data for every group of contexts it was called with.

To the list of all Werks