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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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