Help with custom metrics in summary and details

I am generating a small plugin for monitoring Veeam repositories, when I get the information from them I get it in bytes and the information shown in the summary and in the details is not transformed.
I have managed to transform it to GB or TB in the graphs through “~/local/share/check_mk/web/plugins/metrics/mymetric.py”.
I’ve made a script that gets the info in demo mode for testing, here I leave the pictures
imagen


Hi.

You see only the raw data from the local check. It’s only a value and will not calculated like in the metrics system. If you write a real check by using the CheckAPI than it works.

Rg, Christian

2 Likes

hi christian
after all this time I have my test plugin generated, now I have the same problem, I can not get the values to transform, I am trying to investigate in the files to see where the parameter can be but I consider myself unable to find it.

this is mi check function

this is the result

sorry for my ineptitude… maybe I should continue reading the documentation
just import the right module and use it in the right way.