Werk #19255: Oracle sql check crashed on empty long value
| Component | Checks & agents | ||||||
| Title | Oracle sql check crashed on empty long value | ||||||
| Date | Sep 16, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The check plugin oracle_sql.py crashed since checkmk 2.4 when the value for long is empty with the following exception:
File "/omd/sites/MY_SITE/lib/python3/cmk/plugins/oracle/agent_based/oracle_sql.py", line 183, in check_oracle_sql
yield Result(
^^^^^^^
File "/omd/sites/MY_SITE/lib/python3.12/site-packages/cmk/agent_based/v1/_checking_classes.py", line 408, in __new__
state, summary, details = _create_result_fields(**kwargs) # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/MY_SITE/lib/python3.12/site-packages/cmk/agent_based/v1/_checking_classes.py", line 447, in _create_result_fields
raise ValueError(f"'{name}' must be non-empty str or None, got {var}")
ValueError: 'summary' must be non-empty str or None, got
This is fixed now.