Werk #14145: Crash: Performance Graph dashlet without service context

Komponente User interface
Titel Crash: Performance Graph dashlet without service context
Datum 15.06.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When creating a performance graph dashlet without the service context you would expect the dashlet to use the available host metrics from the Host Check Command.

Since 2.1.0i1 this was no longer possible because the dashlet crashed with the error:

Exception: AttributeError ('str' object has no attribute 'values')

Now the dashlet works as intended again.

Zur Liste aller Werks