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

Komponente Checks & agents
Titel Interface checks: Fix errors in perfometer rendering
Datum 11.04.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0b3 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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