Value format on graphs?

It’s me again… :frowning: Just notice some “fun” stuff… If I use the memory-windows check, it seems to be confused on what is “Used memory” and “Free”. See my example below where I have a server with 8 GB memory. I run testlimit on it to simulate ram usage. How should I alter the graph so it’s actually showing the usage and not free ram ?

With 4 GB added usage:
Win Perfmon:

Plugin: OK result

image

Perfdata: Shows free memory as value. OK.

Graphite graph: Show the other way around, usage is less? Reflects perfdata value for free memory left, not usage.

I saw that in the command there should be possible to add argument -U to switch the results.

arguments += {
        "-U" = {
            description = "Show used memory instead of the free memory"
            set_if = "$memory_win_show_used$"
        }

I’m not just sure where to add that?

Solved by creating a new command and add the arguments needed.