Disable graph for single metric

Hi folks,

i am writing a custom plugin with several metrics and can’t figure out how to disable the auto creation of a graph for a single metric. As far as i see it, a single graph is not created, if the metric is part of multi metric graph. In my case the metric should only be used for the perfometer of the service, but there is also a single graph created for this metric, which i like to get rid off.

Plugin is using the v2 api

This is not possible. Checkmk generates a graph for each metric.

In the previous metric definition there was the “auto_graph” option. Has this been completely discarded?

Hi all,

in older Checkmk versions it was possible to suppress the automatic creation of graphs for individual metrics directly via check_metrics by setting auto_graph = False, for example:

check_metrics[“check_mk-my_check”] = {
“~Active2_0”: {
“auto_graph”: False
},
}

This allowed a metric to exist without generating its own standalone graph.

With the newer graphing API (cmk.graphing.v1 using metrics), I cannot find an equivalent mechanism.
Is there any counterpart to auto_graph = False in cmk.graphing.v1, or has the ability to suppress per-metric graph creation been removed?

Thanks for any clarification.