Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p14
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p37
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

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.

To the list of all Werks