Werk #16800: Fix crash in SNMPv1 and SNMPv2 connection tests

Component Setup
Title Fix crash in SNMPv1 and SNMPv2 connection tests
Date Apr 19, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b6
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When running the SNMP connection tests for a host that has SNMPv3 credentials configured, the SNMPv1 and SNMPv2 connection tests crashed. With the Inline SNMP backend, the corresponding error message read "argument 2 must be str, not tuple". With the Classic backend, there was no error message at all.

To the list of all Werks