...
So instead of using the metric "current" to - let's say - represent the amount of requests currently waiting in some queue, you want to monitor, you should instead create metric info like "myprefix_current_requests". That way, you avoid Checkmk replacing the metrics' names in your local checks. If - for some reason - you cannot prefix your metric_infos and do not intend to reuse one of these metrics, you must avoid all of the ~1000 strings from the list below for naming your metric.
Alternatively , you can always extract all metric_info currently used by your version of Checkmk by running the following command as a site user:
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]:~$ egrep -ohr 'metric_info\[".*"\]' ./lib/python3/cmk/gui/plugins/metrics/ | sort |
...