Werk #19202 · May 7, 26
Fix crash during config generation with SNMP OID range limit rules
Running cmk -U or updating the core configuration crashed with a
TypeError when an "SNMP OID range limit" rule had the option "Fetch all
available sub OIDs" selected. This default option stores no explicit range
limits, but the configuration parser attempted to iterate over the absent
value, causing a crash during helper config creation.
Starting with this release, the parser correctly skips rules that have no range limits configured, and configuration generation completes successfully regardless of which option is selected in the rule.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p2All Editions