Werk #12643: oracle_asm_diskgroup: fix crash "TypeError (unsupported operand type(s) for *: 'NoneType' and 'int')".

Component Checks & Agents
Title oracle_asm_diskgroup: fix crash "TypeError (unsupported operand type(s) for *: 'NoneType' and 'int')".
Date Mar 25, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

If the checkbox for the parameter "Trend computation" of the rule "ASM Disk Group (used space and growth)" was enabled, but the parameter "Enable trend computation" (trendrange) was left unchecked the check oracle_asm_diskgroup crashed with the error message: "TypeError (unsupported operand type(s) for *: 'NoneType' and 'int')". This condition is fixed by falling back to default parameters.

To the list of all Werks