Werk #15958: Custom extensions: Avoid duplicate graphs in the user interface due to 'graph_info.append'

Komponente Metrics system
Titel Custom extensions: Avoid duplicate graphs in the user interface due to 'graph_info.append'
Datum 16.08.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.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk only concerns developers of custom Checkmk extensions.

There are currently two ways for registering custom graph definitions:

graph_info["GRAPH_ID"] = GRAPH_DEFINITION

and

graph_info.append(GRAPH_DEFINITION)

Using the latter might have lead to duplicate graphs in the user interface. As of this werk, this is fixed.

Zur Liste aller Werks