Define the unit of the metric in a local check

Hi,
there is any way in a local check to define the unit of the metric?
I seen the doc

but there is no reference of units as defined in:

lib/check_mk/gui/plugins/metrics/unit.py

is it possible to define the unit directly in the output of the local check without defining a dedicate metric_info ?

thanks

No, this is done in a metric_info dictionary.
You could reuse an existing metric name if one fits.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.