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.