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

Komponente Checks & agents
Titel Interface checks: Fix errors in perfometer rendering
Datum 11.04.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
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.

Zur Liste aller Werks