Werk #17213: oracle_sql: Fix ValueError: could not convert string to float: ''
Component | Checks & agents | ||||||
Title | oracle_sql: Fix ValueError: could not convert string to float: '' | ||||||
Date | Nov 12, 2024 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.