Werk #18327 · Jan 12, 26
Fix handling of levels with infinity values while rendering horizontal rules within graphs
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b1All Editions
- 2.4.0p20All Editions