Metrics: Transform Performance Data on Server Side?

Hi,

I’d like to translate metrics server side on check_mk. I have a data value in the range 0 - 100, meaning 100 = “all fine” and 0 = nothing works at all.

Can I transform that into the opposite? So 100 = “100% errors” and 0 = “no errors”?

In practise to calculate:

new_metric_value = 100 - current_metric_value?

Having reviewed the example code in the current checkmk-Version, this maybe possibly done by using the scale attribute. But I’m not sure about how to fill in the calculation.

Of course, I could change the data output from the agent itself, but then I loose the history. So I prefer what I described here, since the data already contains what is necessary.

Thanks for any help.

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.