Werk #17213 · Nov 12, 24
oracle_sql: Fix ValueError: could not convert string to float: ''
The agent plugin mk_oracle reports 'elapsed:' for the elapsed time, if the perl or bc call fail.
In the past, the plugin oracle_sql crashes with
elif key == "elapsed":
instance.elapsed = float(line[1])
ValueError: could not convert string to float: ''
With this Werk, the crash is fixed. The missing metric elapsed_time will be omitted.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.4.0b1All Editions
- 2.3.0p21CommunityProUltimateUltimate + MT
- 2.2.0p37CommunityProUltimateUltimate + MT