Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #18327: Fix handling of levels with infinity values while rendering horizontal rules within graphs

Component User interface
Title Fix handling of levels with infinity values while rendering horizontal rules within graphs
Date Jan 12, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p20 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

If the warning or critical value (levels) of a graph has the value inf or -inf then the following error message is shown:

Cannot calculate graph recipes
Traceback (most recent call last):
  ...
  File "/omd/sites/sideview/lib/python3/cmk/gui/graphing/_formatter.py", line 85, in _apply_precision
    value_floor = math.floor(value)
                  ^^^^^^^^^^^^^^^^^
OverflowError: cannot convert float infinity to integer

This has been fixed now and the value will not be rendered.

To the list of all Werks