Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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

Component Metrics system
Title Custom extensions: Avoid duplicate graphs in the user interface due to 'graph_info.append'
Date Aug 16, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p9 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

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.

To the list of all Werks