Werk #15415: Interface checks: Fix errors in perfometer rendering

Component Checks & agents
Title Interface checks: Fix errors in perfometer rendering
Date Apr 11, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This issue only affected network interface services. After discovering new services or after an update, the user interface initially displayed Exception: list index out of range in the place where the perfometer is supposed to be displayed. The log file var/log/web.log also recorded these errors:

2023-04-11 10:00:28,884 [40] [cmk.web 78582] error rendering performeter
Traceback (most recent call last):
  ...
IndexError: list index out of range

These errors quickly disappeared after a couple of check cycles. As of this werk, these error messages are not displayed anymore. Instead, the perfometer is rendered as soon as all necessary metrics are found.

To the list of all Werks